Production settings
This commit is contained in:
		@@ -1 +1 @@
 | 
			
		||||
global.debug = true;
 | 
			
		||||
global.debug = false;
 | 
			
		||||
 
 | 
			
		||||
@@ -2,5 +2,7 @@ var fs = require( "fs" );
 | 
			
		||||
var path = "logs/access.log";
 | 
			
		||||
 | 
			
		||||
module.exports = {
 | 
			
		||||
	handler: { write: function( e ) { process.stdout.write( e ); } }
 | 
			
		||||
	handler: fs.createWriteStream(
 | 
			
		||||
		path, { flag: "w+" }
 | 
			
		||||
	)
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user