diff --git a/library/nim.cfg b/library/nim.cfg index 3fd5adb323..a494655e29 100644 --- a/library/nim.cfg +++ b/library/nim.cfg @@ -23,5 +23,12 @@ lib --noMain +# Logging +# Filter statements against the level set at runtime, which is what +# logging.setupLog applies from a node's `logLevel`. Without this chronicles +# resolves each statement's level at compile time and that configuration is +# accepted and ignored. +--define:chronicles_runtime_filtering=on + # Enable FFI macro features when needed for debugging # --define:ffiDumpMacros