Skip to content
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

How to remove [Symbol] fields from winston@3 logger output using winston-papertrail? #96

Open
dponfl opened this issue Aug 4, 2020 · 0 comments

Comments

@dponfl
Copy link

dponfl commented Aug 4, 2020

On the output I got unexpected like:
[Symbol(level)]: 'warn',
[Symbol(splat)]:
[Symbol(message)]:

How I can avoid this?

I'm using:
new Papertrail({
host: 'url',
port: 123,
level: 'warn',
hostname: '***',
program: 'Server',
logFormat: (level, message) => {
return ${level}: ${message};
},
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant