diff options
author | marcinrzepeckiwroc <marcin.rzepecki@nokia.com> | 2020-08-11 11:24:13 +0200 |
---|---|---|
committer | marcinrzepeckiwroc <marcin.rzepecki@nokia.com> | 2020-08-12 11:03:50 +0200 |
commit | 9a05dd22aaaf1182b7e27cbcbf57e4eb0f0ff9e9 (patch) | |
tree | 1afa5fc95a8a785e777a7deb7170359e743ff76d /kubernetes/dcaegen2/components/dcae-deployment-handler/resources | |
parent | 3442e5490abef9d3880f30a316a1554a8aa065fd (diff) |
Change logging method for DeploymentHandler (from local log files to stdio)
Issue-ID: DCAEGEN2-2370
Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com>
Change-Id: Ia3b861832155001f025bef32bfd8298d201e4eff
Diffstat (limited to 'kubernetes/dcaegen2/components/dcae-deployment-handler/resources')
-rw-r--r-- | kubernetes/dcaegen2/components/dcae-deployment-handler/resources/log4js/log4js.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/kubernetes/dcaegen2/components/dcae-deployment-handler/resources/log4js/log4js.json b/kubernetes/dcaegen2/components/dcae-deployment-handler/resources/log4js/log4js.json new file mode 100644 index 0000000000..a93c8c5bbe --- /dev/null +++ b/kubernetes/dcaegen2/components/dcae-deployment-handler/resources/log4js/log4js.json @@ -0,0 +1,32 @@ +{ + "appenders": { + "out": {"type": "stdout"}, + "audit": { + "type": "file", + "filename": "log/audit.log", + "maxLogSize": 10240000, + "backups": 10, + "layout": { + "type": "messagePassThrough" + } + }, + "metrics": { + "type": "file", + "filename": "log/metrics.log", + "maxLogSize": 10240000, + "backups": 10, + "layout": { + "type": "messagePassThrough" + } + }, + "error": {"type": "stdout"}, + "debug": {"type": "stdout"} + }, + "categories": { + "default": {"appenders": ["out"], "level": "debug"}, + "audit": {"appenders": ["audit"], "level": "info"}, + "metrics": {"appenders": ["metrics"], "level": "info"}, + "error": {"appenders": ["error"], "level": "error"}, + "debug": {"appenders": ["debug"], "level": "debug"} + } +}
\ No newline at end of file |