$ cat package.json { ≈≈≈ "dependencies": { "express": "~4.13.1", "log4js": "^0.6.37", ≈≈≈ }, ≈≈≈ } $ mkdir modules $ cat modules/logger.js var log4js = require('log4js'); log4js.configure({ "appenders": [{ "category": "access", "type": "dateFile", "filename": "/var/log/nodejs/access.log", "pattern": "-yyyy-MM-dd", "backups": 3 }, { "category": "system", "type": "dateFile", "filename": "/var/log/no