You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Default logging configuration
{
    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
        }
    }
}
  • No labels