Closed monkeyfdude closed 11 years ago
I used the configuration as mentioned here:
app.configure(function() { app.set('views', __dirname + '/views'); console.set({ facility: 'local0' , title: 'express' , syslogHashTags: true }) console.set({highestLevel: 'debug', stderr: false}) app.use(express.logger({ stream: console.stream('debug') })) });
I observer the logs are being written to two places:
/var/log/syslog /var/log/MY_LOG
I used the configuration as mentioned here:
app.configure(function() { app.set('views', __dirname + '/views'); console.set({ facility: 'local0' , title: 'express' , syslogHashTags: true }) console.set({highestLevel: 'debug', stderr: false}) app.use(express.logger({ stream: console.stream('debug') })) });
I observer the logs are being written to two places:
/var/log/syslog /var/log/MY_LOG