The server's logging works with winston library, in the logging configuration we can specify a few properties which will be listed below
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{
logging: {
log_folder: __utils.absPath('./logs/'),
transports: {
console: {
level: 'info',
enable: true
},
file: {
level: 'info',
enable: true
}
}
}
} |
Info |
---|
Available levels for each transport, in order of highest to lowest errorwarning, noticeinfo and debug |