Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
{
    logging: {
        log_folder: __utils.absPath('./logs/'),
        express: {
            request: [
                // 'body', //only add if it's safe to display data
                'connection.remoteAddress',
                'authorizedCN'
            ],
            response: [
                // 'body' //only add if it's safe to display data
            ]
        },
        transports: {
            console: {
                level: 'info',
                enable: true
            },
            file: {
                level: 'info',
                enable: true
            }
        },
        response: {
            showStack: true
        }
    }
}