I discovered n8n in 2023 and was able to create simple and complex workflows. Back then, I sometimes used the Code node with debugging traces via the “console.log()” function. I viewed the traces in the Chrome console via the “inspect” function. For work on AI with LangChain, I updated my environment (moving from Raspberry IV to V) under Docker. My context is this:
If you are not building custom nodes, then modifying the variables N8N_LOG_OUTPUT and N8N_LOG_LEVEL makes no sense. The ‘console’ here means not the developer console, but the docker console (the one that you may see with the command docker logs <container_name>
Everything should work fine with the default Log settings:
I reset the 2 variables relating to the logs when launching the instance: export N8N_LOG_LEVEL=“info” and export N8N_LOG_OUTPUT=“console”. However, I still don’t have the traces relating to the console.log function. On the other hand, I have a lot of errors which are perhaps linked to workflows, none of which are active.