From d1741d61283e8dfc54339c543abeea2e5ad4fed8 Mon Sep 17 00:00:00 2001 From: efiacor Date: Wed, 9 Mar 2022 16:23:37 +0000 Subject: [DMAAP-DR] Another fix for sql injection Signed-off-by: efiacor Change-Id: Id7f05dc3ba3dca0a7da3f94cd072ecb9204a728a Issue-ID: DMAAP-1623 --- .../docker-compose/docker-compose.yml | 1 + .../dmaap-datarouter/docker-compose/logback.xml | 189 +++++++++++++++++++++ 2 files changed, 190 insertions(+) create mode 100644 csit/scripts/dmaap-datarouter/docker-compose/logback.xml (limited to 'csit/scripts/dmaap-datarouter/docker-compose') diff --git a/csit/scripts/dmaap-datarouter/docker-compose/docker-compose.yml b/csit/scripts/dmaap-datarouter/docker-compose/docker-compose.yml index 9140d0fc..d2902ff5 100644 --- a/csit/scripts/dmaap-datarouter/docker-compose/docker-compose.yml +++ b/csit/scripts/dmaap-datarouter/docker-compose/docker-compose.yml @@ -30,6 +30,7 @@ services: - "8080:8080" volumes: - ./provserver.properties:/opt/app/datartr/etc/provserver.properties + - ./logback.xml:/opt/app/datartr/etc/logback.xml - ../dr_certs/dr_prov/truststore.jks:/opt/app/osaaf/local/truststore.jks - ../dr_certs/dr_prov/org.onap.dmaap-dr-prov.p12:/opt/app/osaaf/local/org.onap.dmaap-dr-prov.p12 - ../dr_certs/dr_prov/org.onap.dmaap-dr.cred.props:/opt/app/osaaf/local/org.onap.dmaap-dr.cred.props diff --git a/csit/scripts/dmaap-datarouter/docker-compose/logback.xml b/csit/scripts/dmaap-datarouter/docker-compose/logback.xml new file mode 100644 index 00000000..8e3183a3 --- /dev/null +++ b/csit/scripts/dmaap-datarouter/docker-compose/logback.xml @@ -0,0 +1,189 @@ + + + + + + + + + + + + + + + + + + ${defaultPattern} + + + + + + + + + + + ${logDirectory}/${generalLogName}.log + + INFO + ACCEPT + DENY + + + ${logDirectory}/${generalLogName}.%i.log.zip + + 1 + 9 + + + 50MB + + + ${defaultPattern} + + + + + 256 + + + + + ${logDirectory}/${errorLogName}.log + + ERROR + ACCEPT + DENY + + + ${logDirectory}/${errorLogName}.%i.log.zip + + 1 + 9 + + + 50MB + + + ${defaultPattern} + + + + + 256 + + + + + + ${logDirectory}/${jettyLogName}.log + + + ${logDirectory}/${jettyLogName}.%i.log.zip + + 1 + 9 + + + 50MB + + + ${jettyLoggerPattern} + + + + + 256 + + true + + + + + + + ${logDirectory}/${debugLogName}.log + + + ${logDirectory}/${debugLogName}.%i.log.zip + + 1 + 9 + + + 50MB + + + ${defaultPattern} + + + + + 256 + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit 1.2.3-korg