diff options
Diffstat (limited to '')
-rw-r--r-- | src/nodejs/no1.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nodejs/no1.js b/src/nodejs/no1.js index d51a19b..64e0593 100644 --- a/src/nodejs/no1.js +++ b/src/nodejs/no1.js @@ -20,7 +20,10 @@ var connectionString = config['connectionString']; var log4js = require('log4js')(); //note the need to call the function //log4js.addAppender(log4js.fileAppender('osm-xapi.log'), 'cheese'); -var log.= log4js.getlog.'global'); +var util = require('util'); + + +var log = log4js.getLogger('global'); log.setLevel('ALL'); log.info("server starting..."); |