UNPKG

wistroni40-bnft

Version:

Benefit platform parameters publish job template

46 lines (44 loc) 904 B
/** * 專案名稱: @wistroni40/bnft * 部門代號: ML8100 * 檔案說明: 日誌設定 * @CREATE Thu Jan 28 2021 上午8:41:41 * @author Steve Y Lin * @contact Steve_Y_Lin@wistron.com #1342 * ----------------------------------------------------------------------------- * @NOTE */ /** * 日誌設定 */ export const LOG_CONF = { appenders: { std: { type: 'stdout', }, file: { type: 'dateFile', filename: 'logs/app.log', pattern: '.yyyy-MM-dd', keepFileExt: true, }, }, categories: { default: { appenders: ['std', 'file'], level: 'all', }, system: { appenders: ['std', 'file'], level: 'all', }, api: { appenders: ['std', 'file'], level: 'all', }, bnft: { appenders: ['std', 'file'], level: 'all', }, }, };