Flogger is a Node-RED module for granular, multi-file logging that surpasses the built-in debug window. It supports multiple logfiles, configurable output formats (plain text or JSON like NLOG), log rotation with optional compression, and dynamic log level and file selection via message properties. Version 1.2.2 is stable with infrequent updates. Key differentiators include per-message log level override, Mustache template logging, and passthrough mode for flow debugging.
npm install node-red-contrib-floggerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows the basic steps to set up Flogger: install, configure a log output, and log the full message.
Ensure your flow sets msg.loglevel only when intended, or leave undefined to use node default.
Use absolute paths if needed, or confirm the working directory.
Always verify that the config-log node is deployed and the 'logconfig' property points to it.
Parse logs as NDJSON (newline-delimited JSON) rather than expecting an array.
Monitor disk usage; compressed logs accumulate in the log directory.
Ensure the message has a payload property before the Flogger node, or set inputchoice to 'fullmsg' instead of 'moustache'.
Double-click the Flogger node, select or create a config-log node in the 'Log Config' field, and deploy.
Create the 'logs' directory manually, or change the 'logdir' property in the config-log node to an existing absolute path.
No dependency data recorded yet.