-
Notifications
You must be signed in to change notification settings - Fork 15
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
Unix socket example #98
Comments
I think the following should work:
Note that this shows a bug here, as |
@tytremblay would you like to send a PR with the fix? |
I'll give it a shot. In the meantime, I found this article that suggest my application should log to
|
Yes, that is the Pino way. See also https://www.nearform.com/blog/pino-the-fastest-node-js-logger-for-production/ (https://www.npmjs.com/package/@sematext/logagent). |
The Issue
I'm trying to use
pino-socket
as a transport to log to syslog via/dev/log
on my Ubuntu 22.04 system using node 18.Here's the output I see in my console:
And of course no logs show up when I run
tail -f /var/log/syslog | grep pino
winston-syslog
seems to workBut I would much rather use
pino
I get this line in
/var/log/syslog
:The Ask
I'm sure I'm doing something wrong. Could you please provide an example?
The text was updated successfully, but these errors were encountered: