aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/log4js/examples/log-rolling.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/log4js/examples/log-rolling.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/log4js/examples/log-rolling.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/log4js/examples/log-rolling.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/log4js/examples/log-rolling.js
deleted file mode 100644
index 7519c5f2..00000000
--- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/log4js/examples/log-rolling.js
+++ /dev/null
@@ -1,27 +0,0 @@
-var log4js = require('../lib/log4js')
-, log
-, i = 0;
-log4js.configure({
- "appenders": [
- {
- type: "console"
- , category: "console"
- },
- {
- "type": "file",
- "filename": "tmp-test.log",
- "maxLogSize": 1024,
- "backups": 3,
- "category": "test"
- }
- ]
-});
-log = log4js.getLogger("test");
-
-function doTheLogging(x) {
- log.info("Logging something %d", x);
-}
-
-for ( ; i < 5000; i++) {
- doTheLogging(i);
-} \ No newline at end of file