diff options
author | Chou, Joseph (JC2555) <jc2555@att.com> | 2018-04-02 14:11:34 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2018-04-03 14:24:50 +0000 |
commit | 80cbbc8710292ae08437daa6e3390cc0190e3139 (patch) | |
tree | a23f07b06617c33c96ee41568b9422c252997549 /packages/base/src/files/install/servers/common | |
parent | def1c29d8a8c4372e006b1388a456bca92d57500 (diff) |
ONAP log files consolidation
Check in changes for pap,pdp,console,brmsgw,paplp and pdplp
Change-Id: I23525a44e0f269d04d9870c3eed18b6b8daacb2c
Issue-ID: POLICY-562
Signed-off-by: Chou, Joseph (JC2555) <jc2555@att.com>
Diffstat (limited to 'packages/base/src/files/install/servers/common')
-rwxr-xr-x | packages/base/src/files/install/servers/common/logparser/init.d/logparserd | 2 | ||||
-rw-r--r-- | packages/base/src/files/install/servers/common/tomcat/conf/server.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/base/src/files/install/servers/common/logparser/init.d/logparserd b/packages/base/src/files/install/servers/common/logparser/init.d/logparserd index 37221b9c3..e4ad903bc 100755 --- a/packages/base/src/files/install/servers/common/logparser/init.d/logparserd +++ b/packages/base/src/files/install/servers/common/logparser/init.d/logparserd @@ -25,7 +25,7 @@ function um_start() { # Redirects default and error output to a log file cd ${POLICY_HOME}/servers/${COMPONENT}/bin - nohup $JAVA_HOME/bin/java -jar ${JAVA_OPTS} ${SERVICE} ${SERVER} ${LOGTYPE} >> ${POLICY_HOME}/servers/${COMPONENT}/logs/stdout 2>&1 & + nohup $JAVA_HOME/bin/java -jar ${JAVA_OPTS} ${SERVICE} ${SERVER} ${LOGTYPE} >> ${POLICY_LOG}/policy/${COMPONENT}/stdout 2>&1 & RETVAL=$? RETVAL=$? } diff --git a/packages/base/src/files/install/servers/common/tomcat/conf/server.xml b/packages/base/src/files/install/servers/common/tomcat/conf/server.xml index 787347283..a78dfc82e 100644 --- a/packages/base/src/files/install/servers/common/tomcat/conf/server.xml +++ b/packages/base/src/files/install/servers/common/tomcat/conf/server.xml @@ -157,7 +157,7 @@ <!-- Access log processes all example. Documentation at: /docs/config/valve.html Note: The pattern used is equivalent to using pattern="common" --> - <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" + <Valve className="org.apache.catalina.valves.AccessLogValve" directory="${{POLICY_LOGS}}/policy/catalina" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> |