summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/log4js.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/etc/log4js.json b/etc/log4js.json
new file mode 100644
index 0000000..5916344
--- /dev/null
+++ b/etc/log4js.json
@@ -0,0 +1,52 @@
+{
+ "appenders":
+ [
+ {
+ "type": "file",
+ "filename": "log/audit.log",
+ "maxLogSize": 10240000,
+ "backups": 10,
+ "category": ["audit"],
+ "layout":
+ {
+ "type": "messagePassThrough"
+ }
+ },
+
+ {
+ "type": "file",
+ "filename": "log/metrics.log",
+ "maxLogSize": 10240000,
+ "backups": 10,
+ "category": ["metrics"],
+ "layout":
+ {
+ "type": "messagePassThrough"
+ }
+ },
+
+ {
+ "type": "file",
+ "filename": "log/error.log",
+ "maxLogSize": 10240000,
+ "backups": 10,
+ "category": ["error"],
+ "layout":
+ {
+ "type": "messagePassThrough"
+ }
+ },
+
+ {
+ "type": "file",
+ "filename": "log/debug.log",
+ "maxLogSize": 10240000,
+ "backups": 10,
+ "category": ["debug"],
+ "layout":
+ {
+ "type": "messagePassThrough"
+ }
+ }
+ ]
+}