I’m forwarding my logs from app platform to logtail. But in logtail all the logs are always of level ‘info’. So also the error logs are level info.
In digitalocean logs you see this (text ‘error’ is in red):
error: GET /v1 404 - 1.469 ms - message: Not found
And in logtail you see this (everything except ‘[INFO]’ is in red):
[INFO] error: GET /v1 404 - 1.469 ms - message: Not found
So now I can’t filter the logs in logtail based on the level. How can I fix this?
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.