Skip to content

Commit 49f03ad

Browse files
committed
fix: return log error only
1 parent a99b106 commit 49f03ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/winston.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import winston from 'winston'
55
// define the custom settings for each transport (file, console)
66
const options = {
77
file: {
8-
level: 'info',
8+
level: 'error', // error, warn, info, http, verbose, debug, silly
99
filename: `${path.resolve('./logs')}/log-${formatDate(new Date())}.log`,
1010
format: winston.format.json(),
1111
handleExceptions: true,

0 commit comments

Comments
 (0)