This package has been deprecated

Author message:

This plugin has been merged into https://www.npmjs.com/package/@flowforge/nr-launcher

@flowforge/nr-audit-logger

1.3.0 • Public • Published

FlowForge Node-RED Audit Logger plugin

Configure

Add the following to the settings.js:

     /** Configure the logging output */
     logging: {
         /** Only console logging is currently supported */
         console: {
             /** Level of logging to be recorded. Options are:
              * fatal - only those errors which make the application unusable should be recorded
              * error - record errors which are deemed fatal for a particular request + fatal errors
              * warn - record problems which are non fatal + errors + fatal errors
              * info - record information about the general running of the application + warn + error + fatal errors
              * debug - record information which is more verbose than info + info + warn + error + fatal errors
              * trace - record very detailed logging + debug + info + warn + error + fatal errors
              * off - turn off all logging (doesn't affect metrics or audit)
              */
             level: "info",
             /** Whether or not to include metric events in the log output */
             metrics: false,
             /** Whether or not to include audit events in the log output */
             audit: false
         },
         auditLogger: {
            level: "off",
            audit: true,
            handler: require('@flowforge/nr-logger'),
            loggingURL: process.env['FORGE_AUDIT_URL'],
            projectID: process.env['FORGE_PROJECT_ID'],
            token: process.env['FORGE_AUDIT_TOKEN']
         }
     },

Readme

Keywords

none

Package Sidebar

Install

npm i @flowforge/nr-audit-logger

Weekly Downloads

0

Version

1.3.0

License

Apache-2.0

Unpacked Size

15.5 kB

Total Files

9

Last publish

Collaborators

  • flowforge