Rocket.chat: Admin page to see server logs

Created on 28 Dec 2015  路  10Comments  路  Source: RocketChat/Rocket.Chat

We could have a admin page to see server logs using streams.

An implementation should be wrapping console.log function to send any message to a stream which clients could subscribe to.

Request core

Most helpful comment

Where are these saved on the server?

All 10 comments

+1

:+1:

:+1:

view-logs is available at http://(host-name)/admin/view-logs , go to http://(host-name)/admin/General and set the Debug Level to all logs
image

image

Yes, as mentioned the above is now implemented. :+1:

Where are these saved on the server?

they're sent to stdout..

they're sent to stdout..

Thanks for your reply! How can I save them, though?

it's up to you.. it depends entirely on how your set up is..

if you run just node, you could do for example: node main.js > saved-logs.txt got it?

it's up to you.. it depends entirely on how your set up is..

if you run just node, you could do for example: node main.js > saved-logs.txt got it?

Yes, that worked for me, many thanks! :)

Was this page helpful?
0 / 5 - 0 ratings