diff options
author | Chou, Joseph (JC2555) <jc2555@att.com> | 2018-04-02 14:11:34 -0400 |
---|---|---|
committer | Chou, Joseph (JC2555) <jc2555@att.com> | 2018-04-04 13:51:13 -0400 |
commit | 4071a05a70909c9f6ec5006be2582edc961fe3a9 (patch) | |
tree | 8b1da6950c0fdb4abd0d7d4a003757248371f7bb /packages/base/src/files/install/servers/common | |
parent | 7e28140dbf60ca27976668a372747af48600a325 (diff) |
ONAP log files consolidation
Check in changes for pap,pdp,console,brmsgw,paplp and pdplp
Change-Id: I5b51368f8fed2d0ede848f1aa7f2f70c866dfe8b
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 | 3 |
1 files changed, 2 insertions, 1 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 e4ad903bc..a8c9d5160 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,8 @@ 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_LOG}/policy/${COMPONENT}/stdout 2>&1 & + mkdir -p ${POLICY_LOGS}/policy/${COMPONENT} 2>/dev/null + nohup $JAVA_HOME/bin/java -jar ${JAVA_OPTS} ${SERVICE} ${SERVER} ${LOGTYPE} >> ${POLICY_LOGS}/policy/${COMPONENT}/stdout 2>&1 & RETVAL=$? RETVAL=$? } |