{"action":"closed","issue":{"url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/145","repository_url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file","labels_url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/145/comments","events_url":"https://api.github.com/repos/winstonjs/winston-daily-rotate-file/issues/145/events","html_url":"https://github.com/winstonjs/winston-daily-rotate-file/issues/145","id":319265831,"number":145,"title":"date formatting is not working on exceptionHandlers","user":{"login":"idangozlan","id":1991021,"avatar_url":"https://avatars3.githubusercontent.com/u/1991021?v=4","gravatar_id":"","url":"https://api.github.com/users/idangozlan","html_url":"https://github.com/idangozlan","followers_url":"https://api.github.com/users/idangozlan/followers","following_url":"https://api.github.com/users/idangozlan/following{/other_user}","gists_url":"https://api.github.com/users/idangozlan/gists{/gist_id}","starred_url":"https://api.github.com/users/idangozlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idangozlan/subscriptions","organizations_url":"https://api.github.com/users/idangozlan/orgs","repos_url":"https://api.github.com/users/idangozlan/repos","events_url":"https://api.github.com/users/idangozlan/events{/privacy}","received_events_url":"https://api.github.com/users/idangozlan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-01T17:29:27Z","updated_at":"2018-05-01T17:41:16Z","closed_at":"2018-05-01T17:41:16Z","author_association":"NONE","body":"When im trying to apply date formatting on my exception log, that's not working, in the other transports it is working..\r\n\r\nhere is my configuration:\r\n```\r\nwinston.configure({\r\n  exceptionHandlers: [\r\n    ...(__DEVELOPMENT__ ? [new winston.transports.Console({ level: 'debug', prettyPrint: true })] : []),\r\n    new winston.transports.File({\r\n      json: true,\r\n      filename: `${options.dirPath}/${hostname()}-exceptions-%DATE%.log`,\r\n      datePattern: 'YYYY-MM-DD',\r\n      maxsize: options.maxSizeMB * 1024 * 1024, // 10MB\r\n    }),\r\n  ],\r\n  transports: [\r\n    ...(__DEVELOPMENT__ ? [new winston.transports.Console({ level: 'debug' })] : []),\r\n    new (winston.transports.DailyRotateFile)({\r\n      json: true,\r\n      filename: `${options.dirPath}/${hostname()}-app-%DATE%.log`,\r\n      datePattern: 'YYYY-MM-DD',\r\n      maxsize: options.maxSizeMB * 1024 * 1024, // 10MB\r\n    }),\r\n  ],\r\n});\r\n```"}}
{"actor":{"display_login":"mattberther"}}