=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md-46- // include the Express request ID in the logs node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md:47: format: (req, res, format) => format(`:remote-addr - ${req.id} - ":method :url HTTP/:http-version" :status :content-length ":referrer" ":user-agent"`) node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md-48-})); ############################################## node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md-58- level: 'info', node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md:59: format: (req, res, format) => format(`:remote-addr :method :url ${JSON.stringify(req.body)}`) node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md-60-})); ############################################## node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md-102- const res = loggingEvent.context.res; node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md:103: return util.format(...loggingEvent.data, res ? `status: ${res.statusCode}` : ''); node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md-104- }; ############################################## node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md-112-| `"\\.gif"` | http://example.com/hoge.gif http://example.com/hoge.gif?fuga | http://example.com/hoge.agif | node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md:113:| `"\\.gif\|\\.jpg$"` | http://example.com/hoge.gif http://example.com/hoge.gif?fuga http://example.com/hoge.jpg?fuga | http://example.com/hoge.agif http://example.com/hoge.ajpg http://example.com/hoge.jpg?hoge | node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md:114:| `"\\.(gif\|jpe?g\|png)$"` | http://example.com/hoge.gif http://example.com/hoge.jpeg | http://example.com/hoge.gif?uid=2 http://example.com/hoge.jpg?pid=3 | node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md:115:| `/\.(gif\|jpe?g\|png)$/` | as above | as above | node-log4js-6.3.0+~cs8.3.10/docs/connect-logger.md:116:| `["\\.jpg$", "\\.png", "\\.gif"]` | same as `"\\.jpg\|\\.png\|\\.gif"` | same as `"\\.jpg\|\\.png\|\\.gif"` | ############################################## node-log4js-6.3.0+~cs8.3.10/docs/writing-appenders.md-33- return (loggingEvent) => { node-log4js-6.3.0+~cs8.3.10/docs/writing-appenders.md:34: process.stdout.write(`${layout(loggingEvent, timezoneOffset)}\n`); node-log4js-6.3.0+~cs8.3.10/docs/writing-appenders.md-35- }; ############################################## node-log4js-6.3.0+~cs8.3.10/docs/writing-appenders.md-64- const appender = (loggingEvent) => { node-log4js-6.3.0+~cs8.3.10/docs/writing-appenders.md:65: process.stdout.write(`${layout(loggingEvent, timezoneOffset)}\n`); node-log4js-6.3.0+~cs8.3.10/docs/writing-appenders.md-66- }; ############################################## node-log4js-6.3.0+~cs8.3.10/examples/flush-on-exit.js-21- const rd = Math.random() * 50; node-log4js-6.3.0+~cs8.3.10/examples/flush-on-exit.js:22: logger.info(`hello ${rd}`); node-log4js-6.3.0+~cs8.3.10/examples/flush-on-exit.js-23- response.write('hello '); ############################################## node-log4js-6.3.0+~cs8.3.10/examples/log-rolling-bug.js-29-setInterval(() => { node-log4js-6.3.0+~cs8.3.10/examples/log-rolling-bug.js:30: loggers.forEach(logger => logger.info(`TESTING LOGGER!!!!!!${logStartDate}`)); node-log4js-6.3.0+~cs8.3.10/examples/log-rolling-bug.js-31-}, 10); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/adapters.js-15- if (validUnit.indexOf(unit) < 0 || !Number.isInteger(Number(value))) { node-log4js-6.3.0+~cs8.3.10/lib/appenders/adapters.js:16: throw Error(`maxLogSize: "${maxLogSize}" is invalid`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/adapters.js-17- } else { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/categoryFilter.js-5- return (logEvent) => { node-log4js-6.3.0+~cs8.3.10/lib/appenders/categoryFilter.js:6: debug(`Checking ${logEvent.categoryName} against ${excludes}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/categoryFilter.js-7- if (excludes.indexOf(logEvent.categoryName) === -1) { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-58- const that = this; node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js:59: const nameMatcher = new RegExp(`^${path.basename(filename)}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-60- ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-65- function index(filename_) { node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js:66: return parseInt(filename_.substring((`${path.basename(filename)}.`).length), 10) || 0; node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-67- } ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-81- const idx = index(fileToRename); node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js:82: debug(`Index of ${fileToRename} is ${idx}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-83- if (idx < that.backups) { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-86- try { node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js:87: fs.unlinkSync(`${filename}.${idx + 1}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-88- } catch (e) { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-91- node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js:92: debug(`Renaming ${fileToRename} -> ${filename}.${idx + 1}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js:93: fs.renameSync(path.join(path.dirname(filename), fileToRename), `${filename}.${idx + 1}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/fileSync.js-94- } ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-31- e.code !== 'MODULE_NOT_FOUND', node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:32: `appender "${modulePath}" could not be loaded (error was: ${e})` node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-33- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-38-const loadAppenderModule = (type, config) => coreAppenders.get(type) node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:39: || tryLoading(`./${type}`, config) node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-40- || tryLoading(type, config) ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-48- if (!config.appenders[name]) return false; node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:49: if (appendersLoading.has(name)) throw new Error(`Dependency loop detected for appender ${name}.`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-50- appendersLoading.add(name); node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-51- node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:52: debug(`Creating appender ${name}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-53- // eslint-disable-next-line no-use-before-define ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-66- configuration.not(appenderModule), node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:67: `appender "${name}" is not valid (type "${appenderConfig.type}" could not be found)` node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-68- ); node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-69- if (appenderModule.appender) { node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:70: debug(`DEPRECATION: Appender ${appenderConfig.type} exports an appender function.`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-71- } node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-72- if (appenderModule.shutdown) { node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:73: debug(`DEPRECATION: Appender ${appenderConfig.type} exports a shutdown function.`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-74- } node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-75- node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:76: debug(`${name}: clustering.isMaster ? ${clustering.isMaster()}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:77: debug(`${name}: appenderModule is ${require('util').inspect(appenderModule)}`); // eslint-disable-line node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-78- return clustering.onlyOnMaster(() => { node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:79: debug(`calling appenderModule.configure for ${name} / ${appenderConfig.type}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-80- return appenderModule.configure( ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-123- configuration.not(config.appenders[name].type), node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js:124: `appender "${name}" is not valid (must be an object with property "type")` node-log4js-6.3.0+~cs8.3.10/lib/appenders/index.js-125- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-112- debug( node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js:113: `(worker) worker appender creating socket to ${config.loggerHost || 'localhost'}:${config.loggerPort || 5000}` node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-114- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-163- let appender; node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js:164: debug(`configure with mode = ${config.mode}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-165- if (config.mode === 'master') { node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-166- if (!config.appender) { node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js:167: debug(`no appender found in config ${config}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-168- throw new Error('multiprocess master must have an "appender" defined'); node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-169- } node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js:170: debug(`actual appender is ${config.appender}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-171- appender = findAppender(config.appender); node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-172- if (!appender) { node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js:173: debug(`actual appender "${config.appender}" not found`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js:174: throw new Error(`multiprocess master appender "${config.appender}" not defined`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/multiprocess.js-175- } ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/noLogFilter.js-23- return (logEvent) => { node-log4js-6.3.0+~cs8.3.10/lib/appenders/noLogFilter.js:24: debug(`Checking data: ${logEvent.data} against filters: ${filters}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/noLogFilter.js-25- if (typeof filters === 'string') { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/recording.js-8- return function (logEvent) { node-log4js-6.3.0+~cs8.3.10/lib/appenders/recording.js:9: debug(`received logEvent, number of events now ${recordedEvents.length + 1}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/recording.js-10- debug('log event was ', logEvent); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/stderr.js-4- return (loggingEvent) => { node-log4js-6.3.0+~cs8.3.10/lib/appenders/stderr.js:5: process.stderr.write(`${layout(loggingEvent, timezoneOffset)}\n`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/stderr.js-6- }; ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/stdout.js-4- return (loggingEvent) => { node-log4js-6.3.0+~cs8.3.10/lib/appenders/stdout.js:5: process.stdout.write(`${layout(loggingEvent, timezoneOffset)}\n`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/stdout.js-6- }; ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp-server.js-38- server.listen(config.port || 5000, config.host || 'localhost', () => { node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp-server.js:39: debug(`listening on ${config.host || 'localhost'}:${config.port || 5000}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp-server.js-40- server.unref(); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js-14- debug('Writing log event to socket'); node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js:15: canWrite = socket.write(`${layout(loggingEvent)}${endMsg}`, 'utf8'); node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js-16- } ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js-27- function createSocket() { node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js:28: debug(`appender creating socket to ${config.host || 'localhost'}:${config.port || 5000}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js:29: endMsg = `${config.endMsg || '__LOG4JS__'}`; node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js-30- socket = net.createConnection(config.port || 5000, config.host || 'localhost'); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js-73-function configure(config, layouts) { node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js:74: debug(`configure with config = ${config}`); node-log4js-6.3.0+~cs8.3.10/lib/appenders/tcp.js-75- let layout = function (loggingEvent) { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-95- ], node-log4js-6.3.0+~cs8.3.10/lib/categories.js:96: `category "${name}" is not valid (must be an object with properties "appenders" and "level")` node-log4js-6.3.0+~cs8.3.10/lib/categories.js-97- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-101- configuration.not(Array.isArray(category.appenders)), node-log4js-6.3.0+~cs8.3.10/lib/categories.js:102: `category "${name}" is not valid (appenders must be an array of appender names)` node-log4js-6.3.0+~cs8.3.10/lib/categories.js-103- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-107- configuration.not(category.appenders.length), node-log4js-6.3.0+~cs8.3.10/lib/categories.js:108: `category "${name}" is not valid (appenders must contain at least one appender name)` node-log4js-6.3.0+~cs8.3.10/lib/categories.js-109- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-114- typeof category.enableCallStack !== 'boolean', node-log4js-6.3.0+~cs8.3.10/lib/categories.js:115: `category "${name}" is not valid (enableCallStack must be boolean type)` node-log4js-6.3.0+~cs8.3.10/lib/categories.js-116- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-122- configuration.not(appenders.get(appender)), node-log4js-6.3.0+~cs8.3.10/lib/categories.js:123: `category "${name}" is not valid (appender "${appender}" is not defined)` node-log4js-6.3.0+~cs8.3.10/lib/categories.js-124- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-129- configuration.not(levels.getLevel(category.level)), node-log4js-6.3.0+~cs8.3.10/lib/categories.js:130: `category "${name}" is not valid (level "${category.level}" not recognised;` node-log4js-6.3.0+~cs8.3.10/lib/categories.js:131: + ` valid levels are ${levels.levels.join(', ')})` node-log4js-6.3.0+~cs8.3.10/lib/categories.js-132- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-150- categoryAppenders.push(appenders.get(appender)); node-log4js-6.3.0+~cs8.3.10/lib/categories.js:151: debug(`Creating category ${name}`); node-log4js-6.3.0+~cs8.3.10/lib/categories.js-152- categories.set( ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-167-const configForCategory = (category) => { node-log4js-6.3.0+~cs8.3.10/lib/categories.js:168: debug(`configForCategory: searching for config for ${category}`); node-log4js-6.3.0+~cs8.3.10/lib/categories.js-169- if (categories.has(category)) { node-log4js-6.3.0+~cs8.3.10/lib/categories.js:170: debug(`configForCategory: ${category} exists in config, returning it`); node-log4js-6.3.0+~cs8.3.10/lib/categories.js-171- return categories.get(category); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-173- if (category.indexOf('.') > 0) { node-log4js-6.3.0+~cs8.3.10/lib/categories.js:174: debug(`configForCategory: ${category} has hierarchy, searching for parents`); node-log4js-6.3.0+~cs8.3.10/lib/categories.js-175- return configForCategory(category.substring(0, category.lastIndexOf('.'))); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-185- let categoryConfig = categories.get(category); node-log4js-6.3.0+~cs8.3.10/lib/categories.js:186: debug(`setLevelForCategory: found ${categoryConfig} for ${category}`); node-log4js-6.3.0+~cs8.3.10/lib/categories.js-187- if (!categoryConfig) { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/categories.js-189- debug('setLevelForCategory: no config found for category, ' node-log4js-6.3.0+~cs8.3.10/lib/categories.js:190: + `found ${sourceCategoryConfig} for parents of ${category}`); node-log4js-6.3.0+~cs8.3.10/lib/categories.js-191- categoryConfig = { appenders: sourceCategoryConfig.appenders }; ############################################## node-log4js-6.3.0+~cs8.3.10/lib/clustering.js-52- node-log4js-6.3.0+~cs8.3.10/lib/clustering.js:53: debug(`clustering disabled ? ${disabled}`); node-log4js-6.3.0+~cs8.3.10/lib/clustering.js:54: debug(`cluster.isMaster ? ${cluster && cluster.isMaster}`); node-log4js-6.3.0+~cs8.3.10/lib/clustering.js:55: debug(`pm2 enabled ? ${pm2}`); node-log4js-6.3.0+~cs8.3.10/lib/clustering.js:56: debug(`pm2InstanceVar = ${pm2InstanceVar}`); node-log4js-6.3.0+~cs8.3.10/lib/clustering.js:57: debug(`process.env[${pm2InstanceVar}] = ${process.env[pm2InstanceVar]}`); node-log4js-6.3.0+~cs8.3.10/lib/clustering.js-58- ############################################## node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-18- listeners.push(fn); node-log4js-6.3.0+~cs8.3.10/lib/configuration.js:19: debug(`Added listener, now ${listeners.length} listeners`); node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-20-}; ############################################## node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-23- preProcessingListeners.push(fn); node-log4js-6.3.0+~cs8.3.10/lib/configuration.js:24: debug(`Added pre-processing listener, now ${preProcessingListeners.length} listeners`); node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-25-}; ############################################## node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-30- if (test) { node-log4js-6.3.0+~cs8.3.10/lib/configuration.js:31: throw new Error(`Problem with log4js configuration: (${util.inspect(config, { depth: 5 })})` node-log4js-6.3.0+~cs8.3.10/lib/configuration.js:32: + ` - ${message}`); node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-33- } ############################################## node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-40- node-log4js-6.3.0+~cs8.3.10/lib/configuration.js:41: debug(`Calling pre-processing listeners (${preProcessingListeners.length})`); node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-42- preProcessingListeners.forEach(listener => listener(candidate)); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-44- node-log4js-6.3.0+~cs8.3.10/lib/configuration.js:45: debug(`Calling configuration listeners (${listeners.length})`); node-log4js-6.3.0+~cs8.3.10/lib/configuration.js-46- listeners.forEach(listener => listener(candidate)); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/connect-logger.js-68- token: ":http-version", node-log4js-6.3.0+~cs8.3.10/lib/connect-logger.js:69: replacement: `${req.httpVersionMajor}.${req.httpVersionMinor}` node-log4js-6.3.0+~cs8.3.10/lib/connect-logger.js-70- }); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-25-function colorizeStart(style) { node-log4js-6.3.0+~cs8.3.10/lib/layouts.js:26: return style ? `\x1B[${styles[style][0]}m` : ''; node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-27-} ############################################## node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-29-function colorizeEnd(style) { node-log4js-6.3.0+~cs8.3.10/lib/layouts.js:30: return style ? `\x1B[${styles[style][1]}m` : ''; node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-31-} ############################################## node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-235- function lineNumber(loggingEvent) { node-log4js-6.3.0+~cs8.3.10/lib/layouts.js:236: return loggingEvent.lineNumber ? `${loggingEvent.lineNumber}` : ''; node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-237- } ############################################## node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-239- function columnNumber(loggingEvent) { node-log4js-6.3.0+~cs8.3.10/lib/layouts.js:240: return loggingEvent.columnNumber ? `${loggingEvent.columnNumber}` : ''; node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-241- } ############################################## node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-296- while (toPad.length < len) { node-log4js-6.3.0+~cs8.3.10/lib/layouts.js:297: toPad = ` ${toPad}`; node-log4js-6.3.0+~cs8.3.10/lib/layouts.js-298- } ############################################## node-log4js-6.3.0+~cs8.3.10/lib/levels.js-114- configuration.not(configuration.validIdentifier(l)), node-log4js-6.3.0+~cs8.3.10/lib/levels.js:115: `level name "${l}" is not a valid identifier (must start with a letter, only contain A-Z,a-z,0-9,_)` node-log4js-6.3.0+~cs8.3.10/lib/levels.js-116- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/levels.js-119- configuration.not(configuration.anObject(levelConfig[l])), node-log4js-6.3.0+~cs8.3.10/lib/levels.js:120: `level "${l}" must be an object` node-log4js-6.3.0+~cs8.3.10/lib/levels.js-121- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/levels.js-124- configuration.not(levelConfig[l].value), node-log4js-6.3.0+~cs8.3.10/lib/levels.js:125: `level "${l}" must have a 'value' property` node-log4js-6.3.0+~cs8.3.10/lib/levels.js-126- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/levels.js-129- configuration.not(configuration.anInteger(levelConfig[l].value)), node-log4js-6.3.0+~cs8.3.10/lib/levels.js:130: `level "${l}".value must have an integer value` node-log4js-6.3.0+~cs8.3.10/lib/levels.js-131- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/levels.js-134- configuration.not(levelConfig[l].colour), node-log4js-6.3.0+~cs8.3.10/lib/levels.js:135: `level "${l}" must have a 'colour' property` node-log4js-6.3.0+~cs8.3.10/lib/levels.js-136- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/levels.js-139- configuration.not(validColours.indexOf(levelConfig[l].colour) > -1), node-log4js-6.3.0+~cs8.3.10/lib/levels.js:140: `level "${l}".colour must be one of ${validColours.join(', ')}` node-log4js-6.3.0+~cs8.3.10/lib/levels.js-141- ); ############################################## node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-46-function loadConfigurationFile(filename) { node-log4js-6.3.0+~cs8.3.10/lib/log4js.js:47: debug(`Loading configuration from ${filename}`); node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-48- try { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-51- throw new Error( node-log4js-6.3.0+~cs8.3.10/lib/log4js.js:52: `Problem reading config from file "${filename}". Error was ${e.message}`, node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-53- e ############################################## node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-63- } node-log4js-6.3.0+~cs8.3.10/lib/log4js.js:64: debug(`Configuration is ${configObject}`); node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-65- ############################################## node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-98- node-log4js-6.3.0+~cs8.3.10/lib/log4js.js:99: debug(`Found ${shutdownFunctions} appenders with shutdown functions.`); node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-100- function complete(err) { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-102- completed += 1; node-log4js-6.3.0+~cs8.3.10/lib/log4js.js:103: debug(`Appender shutdowns complete: ${completed} / ${shutdownFunctions}`); node-log4js-6.3.0+~cs8.3.10/lib/log4js.js-104- if (completed >= shutdownFunctions) { ############################################## node-log4js-6.3.0+~cs8.3.10/lib/logger.js-44- this.parseCallStack = defaultParseCallStack; node-log4js-6.3.0+~cs8.3.10/lib/logger.js:45: debug(`Logger created (${this.category}, ${this.level})`); node-log4js-6.3.0+~cs8.3.10/lib/logger.js-46- } ############################################## node-log4js-6.3.0+~cs8.3.10/lib/logger.js-81- _log(level, data) { node-log4js-6.3.0+~cs8.3.10/lib/logger.js:82: debug(`sending log data (${level}) to appenders`); node-log4js-6.3.0+~cs8.3.10/lib/logger.js-83- const loggingEvent = new LoggingEvent( ############################################## node-log4js-6.3.0+~cs8.3.10/lib/logger.js-118- node-log4js-6.3.0+~cs8.3.10/lib/logger.js:119: Logger.prototype[`is${isLevelMethod}Enabled`] = function() { node-log4js-6.3.0+~cs8.3.10/lib/logger.js-120- return this.isLevelEnabled(level); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/configuration-validation-test.js-298- }; node-log4js-6.3.0+~cs8.3.10/test/tap/configuration-validation-test.js:299: sandboxConfig.requires[`${mainPath}/cheese`] = testAppender( node-log4js-6.3.0+~cs8.3.10/test/tap/configuration-validation-test.js-300- "correct", ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/configuration-validation-test.js-304- sandboxConfig.requires[ node-log4js-6.3.0+~cs8.3.10/test/tap/configuration-validation-test.js:305: `${path.join(mainPath, "../../node_modules/nyc/bin/cheese")}` node-log4js-6.3.0+~cs8.3.10/test/tap/configuration-validation-test.js-306- ] = testAppender("correct", result); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/connect-logger-test.js-271- ml, node-log4js-6.3.0+~cs8.3.10/test/tap/connect-logger-test.js:272: (req, res, tokenReplacer) => `${req.method} ${tokenReplacer(":status")}` node-log4js-6.3.0+~cs8.3.10/test/tap/connect-logger-test.js-273- ); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/connect-logger-test.js-376- format: (req, res, format) => node-log4js-6.3.0+~cs8.3.10/test/tap/connect-logger-test.js:377: format(`:method :url ${JSON.stringify(req.body)}`) node-log4js-6.3.0+~cs8.3.10/test/tap/connect-logger-test.js-378- }); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/connect-logger-test.js-391- t.ok(levels.INFO.isEqualTo(ml.messages[0].level)); node-log4js-6.3.0+~cs8.3.10/test/tap/connect-logger-test.js:392: t.equal(ml.messages[0].message, `POST http://url ${JSON.stringify(body)}`); node-log4js-6.3.0+~cs8.3.10/test/tap/connect-logger-test.js-393- t.end(); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/dateFileAppender-test.js-64- (err, contents) => { node-log4js-6.3.0+~cs8.3.10/test/tap/dateFileAppender-test.js:65: t.include(contents, `this should be written to the file${EOL}`); node-log4js-6.3.0+~cs8.3.10/test/tap/dateFileAppender-test.js-66- t.equal( ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/dateFileAppender-test.js-103- "test/tap/", node-log4js-6.3.0+~cs8.3.10/test/tap/dateFileAppender-test.js:104: `date-file-test.${thisTime}` node-log4js-6.3.0+~cs8.3.10/test/tap/dateFileAppender-test.js-105- ); node-log4js-6.3.0+~cs8.3.10/test/tap/dateFileAppender-test.js:106: fs.writeFileSync(existingFile, `this is existing data${EOL}`, "utf8"); node-log4js-6.3.0+~cs8.3.10/test/tap/dateFileAppender-test.js-107- log4js.configure(options); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-40- const fileContents = await fs.readFile(testFile, "utf8"); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:41: t.include(fileContents, `This should be in the file.${EOL}`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-42- t.match( ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-78- t.tearDown(async () => { node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:79: await Promise.all([removeFile(testFile), removeFile(`${testFile}.1`)]); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-80- }); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:81: await Promise.all([removeFile(testFile), removeFile(`${testFile}.1`)]); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-82- ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-118- t.tearDown(async () => { node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:119: await Promise.all([removeFile(testFile), removeFile(`${testFile}.1`)]); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-120- }); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:121: await Promise.all([removeFile(testFile), removeFile(`${testFile}.1`)]); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-122- ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-165- removeFile(testFile), node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:166: removeFile(`${testFile}.1`), node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:167: removeFile(`${testFile}.2`) node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-168- ]); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-172- removeFile(testFile), node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:173: removeFile(`${testFile}.1`), node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:174: removeFile(`${testFile}.2`) node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-175- ]); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-224- removeFile(testFile), node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:225: removeFile(`${testFile}.1.gz`), node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:226: removeFile(`${testFile}.2.gz`) node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-227- ]); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-231- removeFile(testFile), node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:232: removeFile(`${testFile}.1.gz`), node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:233: removeFile(`${testFile}.2.gz`) node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-234- ]); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-362- let fileContents = await fs.readFile(testFilePlain, "utf8"); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:363: t.include(fileContents, `This should be in the file. Color should be plain.${EOL}`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-364- t.match( ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-370- t.include(fileContents, "This should be in the file.", node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js:371: `\x1b[33mColor\x1b[0m \x1b[93;41mshould\x1b[0m be \x1b[38;5;8mplain\x1b[0m.${EOL}`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileAppender-test.js-372- t.match( ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-32- fs.readFile(testFile, "utf8", (err, fileContents) => { node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:33: t.include(fileContents, `This should be in the file.${EOL}`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-34- t.match( ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-46- remove(testFile); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:47: remove(`${testFile}.1`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-48- ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-50- remove(testFile); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:51: remove(`${testFile}.1`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-52- }); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-71- fs.readFile(testFile, "utf8", (err, fileContents) => { node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:72: assert.include(fileContents, `This is the second log message.${EOL}`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-73- assert.equal( ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-97- remove(testFile); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:98: remove(`${testFile}.1`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-99- ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-101- remove(testFile); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:102: remove(`${testFile}.1`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-103- }); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-126- fs.readFile(testFile, "utf8", (err, fileContents) => { node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:127: assert.match(fileContents, `This is the second log message.${EOL}`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-128- assert.notMatch(fileContents, "These are the log messages for the first file."); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-151- remove(testFile); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:152: remove(`${testFile}.1`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:153: remove(`${testFile}.2`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-154- ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-156- remove(testFile); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:157: remove(`${testFile}.1`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:158: remove(`${testFile}.2`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-159- }); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-241- fs.readFile("tmp-sync-tests.log", "utf8", (err, contents) => { node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:242: t.include(contents, `this should be written to the file${EOL}`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-243- t.equal(contents.indexOf("this should not be written to the file"), -1); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-268- fs.readFile("tmp-options-tests.log", "ascii", (err, contents) => { node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js:269: t.include(contents, `log message${EOL}`); node-log4js-6.3.0+~cs8.3.10/test/tap/fileSyncAppender-test.js-270- t.end(); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js-292- null, node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js:293: `14:18:30 DEBUG multiple.levels.of.tests - this is a test${EOL}` node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js-294- ); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js-526- testPattern(assert, layout, event, tokens, "%20f{1}", " layouts-test.js"); node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js:527: testPattern(assert, layout, event, tokens, "%30.30f{2}", ` ${ path.join("tap","layouts-test.js")}`); node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js-528- testPattern(assert, layout, event, tokens, "%10.-5f{1}", " st.js"); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js-620- "%m%n %c{2} at %d{ABSOLUTE} cheese %p%n", node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js:621: `this is a test${EOL} of.tests at 14:18:30.045 cheese DEBUG${EOL}` node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js-622- ); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js-821- return function(logEvent) { node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js:822: return `TEST LAYOUT >${logEvent.data}`; node-log4js-6.3.0+~cs8.3.10/test/tap/layouts-test.js-823- }; ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-56- node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js:57: remove(`${__dirname}/logLevelFilter.log`); node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js:58: remove(`${__dirname}/logLevelFilter-warnings.log`); node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js:59: remove(`${__dirname}/logLevelFilter-debugs.log`); node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-60- node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-61- t.tearDown(() => { node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js:62: remove(`${__dirname}/logLevelFilter.log`); node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js:63: remove(`${__dirname}/logLevelFilter-warnings.log`); node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js:64: remove(`${__dirname}/logLevelFilter-debugs.log`); node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-65- }); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-112- fs.readFile( node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js:113: `${__dirname}/logLevelFilter.log`, node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-114- "utf8", ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-132- fs.readFile( node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js:133: `${__dirname}/logLevelFilter-warnings.log`, node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-134- "utf8", ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-146- fs.readFile( node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js:147: `${__dirname}/logLevelFilter-debugs.log`, node-log4js-6.3.0+~cs8.3.10/test/tap/logLevelFilter-test.js-148- "utf8", ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/multiprocess-test.js-126- flatted.parse(net.data[8]).data[0].stack, node-log4js-6.3.0+~cs8.3.10/test/tap/multiprocess-test.js:127: `Expected:\n\n${net.data[8]}\n\n to have a 'data[0].stack' property` node-log4js-6.3.0+~cs8.3.10/test/tap/multiprocess-test.js-128- ); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/pm2-support-test.js-21- debug( node-log4js-6.3.0+~cs8.3.10/test/tap/pm2-support-test.js:22: `Received testing message from ${msg.instance} with events ${msg.events}` node-log4js-6.3.0+~cs8.3.10/test/tap/pm2-support-test.js-23- ); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/pm2-support-test.js-28- if (msg.topic === "log4js:message") { node-log4js-6.3.0+~cs8.3.10/test/tap/pm2-support-test.js:29: debug(`Received log message ${msg}`); node-log4js-6.3.0+~cs8.3.10/test/tap/pm2-support-test.js-30- for (const id in cluster.workers) { ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/pm2-support-test.js-106- debug( node-log4js-6.3.0+~cs8.3.10/test/tap/pm2-support-test.js:107: `Sending test events ${events} from ${process.env.NODE_APP_INSTANCE}` node-log4js-6.3.0+~cs8.3.10/test/tap/pm2-support-test.js-108- ); ############################################## node-log4js-6.3.0+~cs8.3.10/test/tap/setLevel-asymmetry-test.js-18- strLevels.forEach(strLevel => { node-log4js-6.3.0+~cs8.3.10/test/tap/setLevel-asymmetry-test.js:19: batch.test(`is called with a ${strLevel} as string`, t => { node-log4js-6.3.0+~cs8.3.10/test/tap/setLevel-asymmetry-test.js-20- const log4jsLevel = log4js.levels.getLevel(strLevel); ############################################## node-log4js-6.3.0+~cs8.3.10/types/test.ts-130-log4js.connectLogger(logger2, { node-log4js-6.3.0+~cs8.3.10/types/test.ts:131: format: (req, _res, format) => format(`:remote-addr - ${req.id} - ":method :url HTTP/:http-version" :status :content-length ":referrer" ":user-agent"`) node-log4js-6.3.0+~cs8.3.10/types/test.ts-132-}); ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/test/DateRollingFileStream-test.js-470- await fs.writeFile( node-log4js-6.3.0+~cs8.3.10/streamroller/test/DateRollingFileStream-test.js:471: path.join(__dirname, `daysToKeep.log.2012-09-${20-i}`), node-log4js-6.3.0+~cs8.3.10/streamroller/test/DateRollingFileStream-test.js:472: `Message on day ${i}\n`, node-log4js-6.3.0+~cs8.3.10/streamroller/test/DateRollingFileStream-test.js-473- { encoding: "utf-8" } ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/test/DateRollingFileStream-test.js-518- fakeNow = new Date(2012, 8, 20 - i, 0, 10, 12); node-log4js-6.3.0+~cs8.3.10/streamroller/test/DateRollingFileStream-test.js:519: const contents = await gzip(`Message on day ${i}\n`); node-log4js-6.3.0+~cs8.3.10/streamroller/test/DateRollingFileStream-test.js-520- await fs.writeFile( node-log4js-6.3.0+~cs8.3.10/streamroller/test/DateRollingFileStream-test.js:521: path.join(__dirname, `compressedDaysToKeep.log.2012-09-${20-i}.gz`), node-log4js-6.3.0+~cs8.3.10/streamroller/test/DateRollingFileStream-test.js-522- contents ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/test/moveAndMaybeCompressFile-test.js-7-const moveAndMaybeCompressFile = require('../lib/moveAndMaybeCompressFile'); node-log4js-6.3.0+~cs8.3.10/streamroller/test/moveAndMaybeCompressFile-test.js:8:const TEST_DIR = path.normalize(`/tmp/moveAndMaybeCompressFile_${Math.floor(Math.random()*10000)}`); node-log4js-6.3.0+~cs8.3.10/streamroller/test/moveAndMaybeCompressFile-test.js-9- ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/fileNameFormatter.js-30- return ({ date, index }) => { node-log4js-6.3.0+~cs8.3.10/streamroller/lib/fileNameFormatter.js:31: debug(`_formatFileName: date=${date}, index=${index}`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/fileNameFormatter.js-32- return parts.reduce( ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/fileNameParser.js-43- dateStr = f.slice(0, -1 * (indexStr.length + 1)); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/fileNameParser.js:44: debug(`dateStr is ${dateStr}`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/fileNameParser.js-45- if (pattern && !dateStr) { ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/fileNameParser.js-64- //not a valid date, don't panic. node-log4js-6.3.0+~cs8.3.10/streamroller/lib/fileNameParser.js:65: debug(`Problem parsing ${dateStr} as ${pattern}, error was: `, e); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/fileNameParser.js-66- return f; ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js-29- debug( node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js:30: `moveAndMaybeCompressFile: finished compressing ${targetFilePath}, deleting ${sourceFilePath}` node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js-31- ); ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js-34- .catch(() => { node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js:35: debug(`Deleting ${sourceFilePath} failed, truncating instead`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js-36- fs.truncate(sourceFilePath).then(resolve).catch(reject) ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js-41- debug( node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js:42: `moveAndMaybeCompressFile: deleting file=${targetFilePath}, renaming ${sourceFilePath} to ${targetFilePath}` node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js-43- ); ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js-47- debug( node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js:48: `moveAndMaybeCompressFile: error moving ${sourceFilePath} to ${targetFilePath}`, e node-log4js-6.3.0+~cs8.3.10/streamroller/lib/moveAndMaybeCompressFile.js-49- ); ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-31- constructor(filePath, options) { node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:32: debug(`constructor: creating RollingFileWriteStream. path=${filePath}`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-33- super(options); ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-102- if (options.maxSize <= 0) { node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:103: throw new Error(`options.maxSize (${options.maxSize}) should be > 0`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-104- } node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-105- if (options.numToKeep <= 0) { node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:106: throw new Error(`options.numToKeep (${options.numToKeep}) should be > 0`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-107- } node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-108- debug( node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:109: `_parseOption: creating stream with option=${JSON.stringify(options)}` node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-110- ); ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-121- `_write: writing chunk. ` + node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:122: `file=${this.currentFileStream.path} ` + node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:123: `state=${JSON.stringify(this.state)} ` + node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:124: `chunk=${chunk}` node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-125- ); ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-135- debug( node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:136: `_shouldRoll: rolling because dateChanged? ${this._dateChanged()} or tooBig? ${this._tooBig()}` node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-137- ); ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-169- for (let i = todaysFiles.length; i >= 0; i--) { node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:170: debug(`_moveOldFiles: i = ${i}`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-171- const sourceFilePath = this.fileFormatter({ ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-211- node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:212: debug(`_getExistingFiles: files=${files}`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-213- const existingFileDetails = files ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-243- debug( node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:244: `_clean: numToKeep = ${this.options.numToKeep}, existingFiles = ${existingFileDetails.length}` node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-245- ); ############################################## node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-260-const deleteFiles = fileNames => { node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:261: debug(`deleteFiles: files to delete: ${fileNames}`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-262- return Promise.all(fileNames.map(f => fs.unlink(f).catch((e) => { node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js:263: debug(`deleteFiles: error when unlinking ${f}, ignoring. Error was ${e}`); node-log4js-6.3.0+~cs8.3.10/streamroller/lib/RollingFileWriteStream.js-264- })));