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
Is your feature request related to a problem? Please describe.
The logs emitted by the gateway client and sensor are hard to parse and filter in the current textual format. Viewing logs in a log ingestion service is hard as the colour escape chars are included in the lines.
Describe the solution you'd like
An option that configures logging to output logs in Json records. Another option to disable colour in log output. I noticed that the logger is hardcoded to a textual format with colours here https://github.com/argoproj/argo-events/blob/master/common/logger.go#L41 . It seems easy enough to pass resolved options to this function.
Describe alternatives you've considered
Additional context
An example of hard to decipher gateway logs:
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The logs emitted by the gateway client and sensor are hard to parse and filter in the current textual format. Viewing logs in a log ingestion service is hard as the colour escape chars are included in the lines.
Describe the solution you'd like
An option that configures logging to output logs in Json records. Another option to disable colour in log output. I noticed that the logger is hardcoded to a textual format with colours here https://github.com/argoproj/argo-events/blob/master/common/logger.go#L41 . It seems easy enough to pass resolved options to this function.
Describe alternatives you've considered
Additional context
![image](https://user-images.githubusercontent.com/4502754/80674287-74022a00-8a7f-11ea-9a14-94d72f587fa6.png)
An example of hard to decipher gateway logs:
The text was updated successfully, but these errors were encountered: