You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bunyan-...@googlegroups.com
Hi, what is the proper way of shutting down the logger, so that it closes its open streams and allows for a clean exit? If I call process.exit, some streams (like rotating-file) are not flushed.
Thanks,
Trent Mick
unread,
Jun 28, 2013, 12:30:57 PM6/28/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bunyan-...@googlegroups.com
Vincent,
There isn't a perfect answer right now. This is https://github.com/trentm/node-bunyan/issues/37 which is one of my top few current bunyan tickets. Though granted I haven't moved on this one in a while :|
Trent
Vincent Côté-Roy
unread,
Jun 28, 2013, 5:56:07 PM6/28/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Trent Mick, bunyan-...@googlegroups.com
Hi Trent,
Thanks for your reply.
I'm not sure though what would be the blocking issue with an explicit close function that flushes and closes all the underlying streams?