apiVersion: v1
kind: ConfigMap
metadata:
  name: log4j
data:
  log4j.properties: |
    log4j.rootLogger=INFO,CONSOLE
    log4j.logger.DataLogger=INFO,file
    log4j.logger.org.sa.rainbow.stitch2.util.Ohana2=TRACE,CONSOLE
    log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
    log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
    log4j.appender.CONSOLE.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n

    log4j.appender.file=org.apache.log4j.RollingFileAppender
    log4j.appender.file.File=logging.log
    log4j.appender.file.MaxFileSize=50MB
    log4j.appender.file.MaxBackupIndex=5
    log4j.appender.file.layout=org.apache.log4j.PatternLayout
    log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n