Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1019 from mleanos/logger-default-stdout
Browse files Browse the repository at this point in the history
Change logger development config to use stdout rather than stream
  • Loading branch information
ilanbiala committed Oct 27, 2015
2 parents 63d0d71 + 99fe989 commit 1ddd364
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions config/env/development.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ module.exports = {
options: {
// Stream defaults to process.stdout
// Uncomment/comment to toggle the logging to a log on the file system
stream: {
directoryPath: process.cwd(),
fileName: 'access.log',
rotatingLogs: { // for more info on rotating logs - https://github.com/holidayextras/file-stream-rotator#usage
active: false, // activate to use rotating logs
fileName: 'access-%DATE%.log', // if rotating logs are active, this fileName setting will be used
frequency: 'daily',
verbose: false
}
}
//stream: {
// directoryPath: process.cwd(),
// fileName: 'access.log',
// rotatingLogs: { // for more info on rotating logs - https://github.com/holidayextras/file-stream-rotator#usage
// active: false, // activate to use rotating logs
// fileName: 'access-%DATE%.log', // if rotating logs are active, this fileName setting will be used
// frequency: 'daily',
// verbose: false
// }
//}
}
},
app: {
Expand Down

0 comments on commit 1ddd364

Please sign in to comment.