Logging in Conduit.
- This topic has 3 replies, 3 voices, and was last updated 5 years, 5 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Conduit: AEP Model › Logging in Conduit.
I have a custom app that runs on the conduit and currently I use Winston to log data into the log file. As of now overtime the log file grows significantly in size and I was wondering what is the easiest way to create rolling log files similar to the messages log files under the /var/logs folder? I was hoping curtail the log file reaches a certain size and rollover the next log messages to a new file. My custom app is implemented using NodeJS. Is there any custom logging API in the AEP version that provides this functionality out of box?
Thanks,
Ajay.
I would recommend seeing if logrotate works. It is available on Conduit and is what is used with the syslog output.
Hi Jeff,
I haven’t used logrotate before, is this some kind of configuration I need to implement on the conduit. Is this something I can setup so that it can be handled during the install of the custom app? I was hoping I could get an example scripts you could share, if I can set this up during the install of the custom app.
Thanks,
Ajay