mirror of
https://github.com/docker-training/node-bulletin-board.git
synced 2025-12-15 07:16:43 +08:00
Add logging & config; update base images
This commit is contained in:
10
bulletin-board-app/config/logConfig.js
Normal file
10
bulletin-board-app/config/logConfig.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const winston = require('winston');
|
||||
var logConfig = module.exports = {};
|
||||
|
||||
logConfig.options = {
|
||||
transports: [
|
||||
new winston.transports.Console({
|
||||
level: 'info'
|
||||
})
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user