You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a node.js process that repeatedly maps over long-running functions. I'm trying to log that into Papertrail but I only get the first log showing up in Papertrail. It's a brand-new instance of Papertrail and I've checked that there are no log filters applied.
Two scenarios:
If I control-c the process, I only get the first log in Papertrail (but all intermediate logs still go to the console)
If I let the process finish, I get all of the backed-up logs showing up in Papertrail. But that defeats the purpose of seeing what's going one while it's running.
The function called repeatedly is displayProgress() shown below.
It's like it's storing it and then flushing it only at the end. I've tried flushOnClose as true and as false but neither solves the problem. Does the library not support this? Or is there a setting that I'm missing?
Thank you
The text was updated successfully, but these errors were encountered:
I've got a node.js process that repeatedly maps over long-running functions. I'm trying to log that into Papertrail but I only get the first log showing up in Papertrail. It's a brand-new instance of Papertrail and I've checked that there are no log filters applied.
Two scenarios:
The function called repeatedly is
displayProgress()
shown below.It's like it's storing it and then flushing it only at the end. I've tried
flushOnClose
astrue
and asfalse
but neither solves the problem. Does the library not support this? Or is there a setting that I'm missing?Thank you
The text was updated successfully, but these errors were encountered: