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
|
Beta Was this translation helpful? Give feedback.
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? |
Beta Was this translation helpful? Give feedback.
@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:error
doesn't really follow the convention set out by the debug library.Is there something that is particularly noisy/not useful?