Replace LOGPATH with LOGSUFFIX 83/48383/7
authorJim Hahn <jrh3@att.com>
Mon, 21 May 2018 19:02:40 +0000 (15:02 -0400)
committerJim Hahn <jrh3@att.com>
Wed, 23 May 2018 18:57:16 +0000 (14:57 -0400)
commitee033842018375e0200a9b8f2e0dc813974440fd
tree9e6ebcb9dd132cb8f4ef3e6dac216ec467516f6f
parent1da6b3b6a28f40322a13e6fb5142206f1eefa027
Replace LOGPATH with LOGSUFFIX

docker-install.sh does not expand ${{xxx}} values in .conf
files before using them to update target files.  Consequently,
replaced LOGPATH with LOGSUFFIX in .conf files and updated
target files to use ${{POLICY_LOGS}}${{LOGSUFFIX}} instead.
Replace "${POLICY_HOME}/logs" in auxiliary files (e.g., logrotate)
with "${POLICY_LOGS}/policy".
Update license dates.
In .sh files, changed ${{POLICY_LOGS}} to ${POLICY_LOGS}, and
ensured that env.sh is sourced.
Use hard-coded paths in conf files instead of replacing
LOGPATH with LOGSUFFIX.
Update license dates.
Repoint path for IntegrityMonitor.log, as we cannot easily move
since it's in common.
Replace hard-coded log path in docker-install.sh.
Undo hard-coded log paths where possible, and modify scripts to
pass $POLICY_LOGS to JVM.

Change-Id: I027d8d2173ae97fef73b0daff1d6a87452857f93
Issue-ID: POLICY-759
Signed-off-by: Jim Hahn <jrh3@att.com>
14 files changed:
packages/base/src/files/bin/monitor.sh
packages/base/src/files/etc/logrotate.d/elk.conf
packages/base/src/files/etc/logrotate.d/monitor.conf
packages/base/src/files/install/elk/bin/elk.sh
packages/base/src/files/install/elk/config/elasticsearch.yml
packages/base/src/files/install/elk/init.d/elkd
packages/base/src/files/install/servers/brmsgw/init.d/brmsgw
packages/base/src/files/install/servers/common/logparser/init.d/logparserd
packages/base/src/files/install/servers/common/tomcat/bin/setenv.sh
packages/base/src/files/install/servers/paplp/bin/parserlog.properties
packages/base/src/files/install/servers/pdplp/bin/parserlog.properties
packages/docker/src/main/docker/docker-install.sh
packages/install/src/files/paplp.conf
packages/install/src/files/pdplp.conf