New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unresponsive logging when using tail
, jq
and pino-pretty
#424
Comments
Line 80 of |
Why would it take so long to empty the buffer though? Even if it were buffered, why is it that the sonic-boom instance hangs for so long? |
The default options that get passed from the CLI script into the stream factory are: {
errorLikeObjectKeys: 'err,error',
errorProps: ''
} This means the factory will execute: Lines 229 to 234 in a4fa4e1
And thus,
So my wild guess is that the OS is issuing |
The above command does not appear to be responsive. I have a heartbeat log every 10 seconds, yet the log isn't printed immediately. Instead a bunch of logs are printed after some many minutes in a batch. If I remove
pino-pretty
from the command, the logs are printed immediately. It appears as thoughpino-pretty
is buffering logs? I'm using version 10.0.0.The text was updated successfully, but these errors were encountered: