# Logging using Winston and Papertrail

**URL:** https://discourse.nodered.org/t/logging-using-winston-and-papertrail/49428
**Category:** General
**Created:** [6 August 2021 15:33 UTC](https://discourse.nodered.org/t/logging-using-winston-and-papertrail/49428 "2021-08-06T15:33:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![d0d04m3](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/d0d04m3/32/19965_2.png) [@d0d04m3](https://discourse.nodered.org/u/d0d04m3)
#### Post date: [6 August 2021 15:33 UTC](https://discourse.nodered.org/t/logging-using-winston-and-papertrail/49428/1 "2021-08-06T15:33:36Z")

</div>

hi i have NR into ibm and heroku cloud  
so i need edit logging in settings.js to send all debug console to my account in papertrail  
but i cant do it  
any help please

---

<div class="post-metadata">

### Author: ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)
#### Post date: [6 August 2021 17:48 UTC](https://discourse.nodered.org/t/logging-using-winston-and-papertrail/49428/2 "2021-08-06T17:48:08Z")

</div>

You will have to write a custom logging plugin. The docs are here:  
[https://nodered.org/docs/user-guide/runtime/logging#custom-logging-module](https://nodered.org/docs/user-guide/runtime/logging#custom-logging-module)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [5 October 2021 17:48 UTC](https://discourse.nodered.org/t/logging-using-winston-and-papertrail/49428/3 "2021-10-05T17:48:49Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
