Skip to content

Commit

Permalink
Log file intro special folder
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Jan 31, 2024
1 parent 7b9dbf1 commit 8a09c3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ export const logger = winston.createLogger({
transports: [
new winston.transports.File(
{
filename: 'wollok.log',
filename: 'log/wollok.log',
maxsize: 1000000,
format: format.combine(
format.timestamp(),
format.json(),
Expand Down

0 comments on commit 8a09c3d

Please sign in to comment.