Describe the bugAPIFY_ vs CRAWLEE_ env vars:
if I set process.env.CRAWLEE_LOG_LEVEL locally to DEBUG - it would not show debug messages. With log.setLevel(log.LEVELS.DEBUG) it works as expected.
From @B4nan:
I guess that's because this is implemented in the logger directly. I guess we should set the log level when bootstrapping the Configuration class, definitely worth supporting CRAWLEE_LOG_LEVEL.
Describe the bug
APIFY_
vsCRAWLEE_
env vars: if I setprocess.env.CRAWLEE_LOG_LEVEL
locally to DEBUG - it would not show debug messages. Withlog.setLevel(log.LEVELS.DEBUG)
it works as expected.From @B4nan:
To Reproduce
Expected behavior Should log
Test
debug message to console.System information: