apiVersion: v1
data:
  log4cxx.properties: |
    log4cxx::helpers::Properties properties;
    properties.setProperty(L"log4j.rootLogger",L"INFO");
    properties.setProperty(L"log4j.appender",L"ca");
    properties.setProperty(L"log4j.appender",L"fa");
  log4j.properties: |
    log4j.rootLogger=DEBUG, CON
    log4j.appender.CON=org.apache.log4j.ConsoleAppender
    log4j.appender.CON.layout=org.apache.log4j.PatternLayout
    log4j.appender.CON=org.apache.log4j.RollingFileAppender
    log4j.appender.CON.File=log4cxx.log
    log4j.appender.CON.MaxFileSize=16MB
    log4j.appender.CON.MaxBackupIndex=10
    log4j.appender.CON.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} %-5p (%-25c:%-4L) - %m%n
    log4j.logger.com.exactpro.th2=DEBUG
    log4j.logger.com.exactpro.evolution=DEBUG
    log4j.logger.com.exactpro.cradle=DEBUG
    log4j.logger.com.exactpro.sf.services.http=DEBUG
    log4j.logger.io.fabric8.kubernetes.client.informers.cache=WARN
  log4py.conf: |
    [loggers]
    keys=root
    [handlers]
    keys=consoleHandler
    [formatters]
    keys=formatter
    [logger_root]
    level=INFO
    handlers=consoleHandler
    [handler_consoleHandler]
    class=StreamHandler
    level=DEBUG
    formatter=formatter
    args=(sys.stdout,)
    [handler_fileHandler]
    class=FileHandler
    level=DEBUG
    formatter=formatter
    args=('../all.log',)
    [formatter_formatter]
    format=%(asctime)s %(levelname)s %(message)s
kind: ConfigMap
metadata:
  name: logging-config
