aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/oof/charts/oof-has/resources/config/log.conf
diff options
context:
space:
mode:
authorIkramullah, Ikram <ikram@research.att.com>2020-04-09 09:06:26 -0400
committerIkramullah, Ikram <ikram@research.att.com>2020-04-09 09:10:25 -0400
commited54025f68c671035a6d1cbeccf55a94938956ec (patch)
tree9179106b988bf75cdb2150fe035350f8a74e7aa9 /kubernetes/oof/charts/oof-has/resources/config/log.conf
parentd8b3f9568798a488be547e4800858009a99fcedb (diff)
Changing log writes location to /var/log for oof/has
The log locaitons that the processes write to should be a common place so that a non-root that starts the process can be setup to manage the writes to that location. Chaning all log locations to /var/log where user 'onap' has been given write access to. Issue-ID: OPTFRA-711 Signed-off-by: Ikramullah, Ikram <ikram@research.att.com> Change-Id: I524534179b98c29acaf697dabdddd63b213199ba
Diffstat (limited to 'kubernetes/oof/charts/oof-has/resources/config/log.conf')
-rwxr-xr-xkubernetes/oof/charts/oof-has/resources/config/log.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/kubernetes/oof/charts/oof-has/resources/config/log.conf b/kubernetes/oof/charts/oof-has/resources/config/log.conf
index 0fb963e674..9e4e29a1ba 100755
--- a/kubernetes/oof/charts/oof-has/resources/config/log.conf
+++ b/kubernetes/oof/charts/oof-has/resources/config/log.conf
@@ -33,31 +33,31 @@ args=(sys.stdout,)
class=handlers.TimedRotatingFileHandler
level=NOTSET
formatter=generic
-args=('application.log','midnight', 1, 10)
+args=('/var/log/application.log','midnight', 1, 10)
[handler_audithand]
class=handlers.TimedRotatingFileHandler
level=INFO
formatter=audit
-args=('audit.log', 'midnight', 1, 10)
+args=('/var/log/audit.log', 'midnight', 1, 10)
[handler_metrichand]
class=handlers.TimedRotatingFileHandler
level=INFO
formatter=metric
-args=('metric.log','midnight', 1, 10)
+args=('/var/log/metric.log','midnight', 1, 10)
[handler_errhand]
class=handlers.TimedRotatingFileHandler
level=ERROR
formatter=error
-args=('error.log','midnight', 1, 10)
+args=('/var/log/error.log','midnight', 1, 10)
[handler_debughand]
class=handlers.TimedRotatingFileHandler
level=DEBUG
formatter=generic
-args=('debug.log','midnight', 1, 10)
+args=('/var/log/debug.log','midnight', 1, 10)
[formatters]
keys=generic,audit,metric,error