-
Couldn't load subscription status.
- Fork 10
Auto detect log format #1228
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
Auto detect log format #1228
Conversation
Change the default log format from 'plaintext' to 'autodetect'. Our processor will automatically try to detect the correct log format, which should create a better experience than the default being plaintext. Part of appsignal/integration-guide#174
The autodetect format is the default, update the test name to match. [skip ci]
This is the API our customers use, also default it to the autodetect format.
This comment has been minimized.
This comment has been minimized.
1 similar comment
|
This is a message from the daily scheduled checks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far. Also needs to be updated in the Pino and Winston transports:
- https://github.com/appsignal/appsignal-nodejs/blob/main/src/pino_transport.ts#L33
- https://github.com/appsignal/appsignal-nodejs/blob/main/src/winston_transport.ts#L79
Like in the Ruby PR: has the agent been updated here as well?
Yes. It's been updated in #1227 |
Update the default format to the autodetect format as well.
|
I've updated the Pino and Winston transports. I saw no tests for the Pino transport, so I made an issue here: #1243 |
Change the default log format from 'plaintext' to 'autodetect'. Our processor will automatically try to detect the correct log format, which should create a better experience than the default being plaintext.
Part of https://github.com/appsignal/integration-guide/issues/174