apiVersion: v1
data:
  log4j2.properties: |
    # ElasticSearch logger configuration.
    # See:
    # https://logging.apache.org/log4j/2.x/manual/configuration.html
    # "Configuration with Properties"
    # Nice config?:
    # https://github.com/elastic/logstash/issues/7482#issuecomment-369314956


    # ---- Default config:

    status = error

    appender.console.type = Console
    appender.console.name = console
    appender.console.layout.type = PatternLayout
    appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n

    rootLogger.level = info
    rootLogger.appenderRef.console.ref = console

    # ---- /Default config
kind: ConfigMap
metadata:
  name: search-log4j2-properties-override
  namespace: talkyard
