I’m also having a little trouble getting the logging to behave as expected.
Using this in a custom node doesn’t throw any compile or runtime errors, but nothing seems to be written to the log.
import { LoggerProxy as Logger } from 'n8n-workflow';
// ... other code ...
Logger.info(`Input items: ${items.toString()}`);
As far as I know, I have followed instructions to configure things correctly per: “Logging in n8n” documentation but I’m not seeing my log messages when the code is executed. I’ve tried logging plain strings too (in case it was related to some sort of string variable resolution issue). The default config should output Logger.info() calls to the console, but the last thing I see is the => Started ... startup message.
Hoping someone will see this and let me know if there’s something else missing from the documentation (or if it’s there, and I just missed it).