We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a99b106 commit 49f03adCopy full SHA for 49f03ad
src/config/winston.ts
@@ -5,7 +5,7 @@ import winston from 'winston'
5
// define the custom settings for each transport (file, console)
6
const options = {
7
file: {
8
- level: 'info',
+ level: 'error', // error, warn, info, http, verbose, debug, silly
9
filename: `${path.resolve('./logs')}/log-${formatDate(new Date())}.log`,
10
format: winston.format.json(),
11
handleExceptions: true,
0 commit comments