#general

Reducing Verbosity of Logs in Docker Standalone Installation

TLDR Earl was concerned about the verbose log levels from the MySQL and Redis containers in a newly installed standalone Docker set up. After removing the hotrod containers, Prashant suggested to nitya-signoz that they add a filter to keep out logs from hotrod containers. The team agreed to disable hotrod logs by default.

Powered by Struct AI
+11
5
3w
Solved
Join the chat
Aug 29, 2023 (1 month ago)
Earl
Photo of md5-335a37ee67379fc137b54a6512e74035
Earl
06:02 AM
Good Day Everyone! How can I change the log level of the other containers ( newly installed self-hosted via docker standalone )? The logs seem too verbose, there are a lot of INFO levels like from the MySQL container, Redis container (containers included on the default installation). At least only the errors are what I like to see on the logs 😅
Aug 31, 2023 (3 weeks ago)
Earl
Photo of md5-335a37ee67379fc137b54a6512e74035
Earl
03:28 AM
https://signoz.io/docs/operate/docker-standalone/#remove-the-sample-application-from-signoz-dashboard

I had to remove the hotrods containers, it was the one that generated all those things on a "newly installed signoz" 😮‍💨
Sep 02, 2023 (3 weeks ago)
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
08:45 AM
Earl Thanks for raising the issue and pointing out the solution.

nitya-signoz can you add filter to keep out logs from hotrod containers for Docker? We have it already set up for K8s.
Sep 05, 2023 (3 weeks ago)
nitya-signoz
Photo of md5-a52b9d6c34f193d9a1ff940024f36f77
nitya-signoz
04:27 AM
Prashant do you mean to disable hotrot logs by default ? Ideally the hotrod application should be removed once the user has verified the installation.
Prashant
Photo of md5-1899629483c7ab1dccfbee6cc2f637b9
Prashant
05:08 AM
true, but that could take days to weeks for them. And by then a lot of hotrod data would be collected. Logs being the most collected.

Since we anyways have it disabled in K8s, we should do the same in Docker as well.
+11