diff options
author | cookiewang <gw1218@att.com> | 2017-08-30 09:43:50 -0500 |
---|---|---|
committer | cookiewang <gw1218@att.com> | 2017-08-30 09:44:17 -0500 |
commit | b5c606476cd4768d98ac616e97c4af992920312c (patch) | |
tree | 86ceba0314d2a8ca19905a4bc50f5cad966991c9 /packages/base/src/files/install/servers | |
parent | ed3acdbb2d22e819218eea730932950d69d985fe (diff) |
Add a new cleanup process
Created a new cleanup process to delete all the old data from SystemLogDB
table
Issue-ID:POLICY-193
Change-Id: Id17539e68ac70be20857b071ffb3700a85bcb817
Signed-off-by: cookiewang <gw1218@att.com>
Diffstat (limited to 'packages/base/src/files/install/servers')
-rw-r--r-- | packages/base/src/files/install/servers/paplp/bin/parserlog.properties | 6 | ||||
-rwxr-xr-x | packages/base/src/files/install/servers/pdplp/bin/parserlog.properties | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/packages/base/src/files/install/servers/paplp/bin/parserlog.properties b/packages/base/src/files/install/servers/paplp/bin/parserlog.properties index e9189f9c7..9fe05cdbd 100644 --- a/packages/base/src/files/install/servers/paplp/bin/parserlog.properties +++ b/packages/base/src/files/install/servers/paplp/bin/parserlog.properties @@ -33,8 +33,10 @@ JDBC_URL='${{JDBC_LOG_URL}}' JDBC_USER=${{JDBC_USER}} JDBC_PASSWORD=${{JDBC_PASSWORD}} PARSERLOGPATH=IntegrityMonitor.log - - +# run this cleanup systemlogdb table once a day +CHECK_INTERVAL=86400000 +# timeFrame for removing old records from systemlogdb table +TIME_FRAME=5 #Integrity Monitor values #database driver for Integrity Monitor javax.persistence.jdbc.driver=${{JDBC_DRIVER}} diff --git a/packages/base/src/files/install/servers/pdplp/bin/parserlog.properties b/packages/base/src/files/install/servers/pdplp/bin/parserlog.properties index 245af07b6..2975ac74f 100755 --- a/packages/base/src/files/install/servers/pdplp/bin/parserlog.properties +++ b/packages/base/src/files/install/servers/pdplp/bin/parserlog.properties @@ -33,8 +33,10 @@ JDBC_URL='${{JDBC_LOG_URL}}' JDBC_USER=${{JDBC_USER}} JDBC_PASSWORD=${{JDBC_PASSWORD}} PARSERLOGPATH=IntegrityMonitor.log - - +# run this cleanup systemlogdb table once a day +CHECK_INTERVAL=86400000 +# timeFrame for removing old records from systemlogdb table +TIME_FRAME=5 #Integrity Monitor values #database driver for Integrity Monitor javax.persistence.jdbc.driver=${{JDBC_DRIVER}} |