Report this

What is the reason for this report?

App integration with logtail not show log level error as error

Posted on February 17, 2022
Jonas Brømsø

By Jonas Brømsø

Product Manager

I have been experimenting with a basic app in Golang. I have added the logtail integration. I try to log on both errors and info, but the ERROR level gets converted to INFO, which sort of beats the purpose.

Today I reinitialized the PaperTrail integration and it demonstrates the same.

In addition I have evaluated both JSON and non-JSON logging without luck.

Is it possible to log errors in the documented/syslog way. Any pointers would be most welcome.

Example app: https://github.com/jonasbn/sample-golang



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Already an answer? I’m experiencing the same problem. Logtail shows all logs as info level instead of for example error.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.