Limiting logs based on severity level #436
|
Is there any way to limit the container logs based on whether they are TRACE, DEBUG, INFO, WARN, or ERROR? Something along the lines of:
or
|
Answered by
cristianrgreco
Mar 23, 2023
Replies: 1 comment
|
@tballast I am looking at this again. We use debug for logs. It doesn't have the concept of log levels, it's just really for turning logs off or on. The log levels were introduced just for some extra metadata. If there's some issue with testcontainers I guess it's useful to see all the logs, and if not, they can all be turned off?
Is there something that is particularly noisy/not useful? |
0 replies
Answer selected by
cristianrgreco
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@tballast I am looking at this again. We use debug for logs. It doesn't have the concept of log levels, it's just really for turning logs off or on. The log levels were introduced just for some extra metadata. If there's some issue with testcontainers I guess it's useful to see all the logs, and if not, they can all be turned off?
DEBUG=testcontainers:exec:errordoesn't really follow the convention set out by the debug library.Is there something that is particularly noisy/not useful?