All Downloads are FREE. Search and download functionalities are using the official Maven repository.

siqb.coteafs.appium.2.0.0-beta3.source-code.coteafs-logger.yaml Maven / Gradle / Ivy

There is a newer version: 4.2.0
Show newest version
status: WARN
monitor_interval: 30

properties:
  - name: log-path
    value: logs
  - name: error-log
    value: my-log-error
  - name: all-log
    value: my-log-all
  - name: test-log
    value: my-log-main
  - name: log-pattern
    value: "[%d{HH:mm:ss.SSS}] [%-5level] - %msg (%logger{1}:%L) %throwable{short.message}%n"

appenders:
  - name: console-log
    plugin: Console
    layout:
      plugin: PatternLayout
      attributes:
        pattern: ${log-pattern}
    attributes:
      target: SYSTEM_OUT
  - name: all-log-appender
    plugin: RollingFile
    attributes:
      fileName: ${log-path}/${all-log}.log
      filePattern: ${log-path}/${all-log}-%d{yyyy-MM-dd}.log
      append: false
      immediateFlush: true
    layout:
      plugin: PatternLayout
      attributes:
        pattern: ${log-pattern}
    component:
      plugin: Policies
      components:
        - plugin: TimeBasedTriggeringPolicy
          attributes:
            interval: 1
            modulate: true
        - plugin: SizeBasedTriggeringPolicy
          attributes:
            size: 50 MB
  - name: test-log-appender
    plugin: RollingFile
    attributes:
      fileName: ${log-path}/${test-log}.log
      filePattern: ${log-path}/${test-log}-%d{yyyy-MM-dd}.log
      append: false
      immediateFlush: true
    layout:
      plugin: PatternLayout
      attributes:
        pattern: ${log-pattern}
    component:
      plugin: Policies
      components:
        - plugin: TimeBasedTriggeringPolicy
          attributes:
            interval: 1
            modulate: true
        - plugin: SizeBasedTriggeringPolicy
          attributes:
            size: 50 MB
  - name: error-log-appender
    plugin: RollingFile
    attributes:
      fileName: ${log-path}/${error-log}.log
      filePattern: ${log-path}/${error-log}-%d{yyyy-MM-dd}.log
      append: false
      immediateFlush: true
    layout:
      plugin: PatternLayout
      attributes:
        pattern: ${log-pattern}
    component:
      plugin: Policies
      components:
        - plugin: TimeBasedTriggeringPolicy
          attributes:
            interval: 1
            modulate: true
        - plugin: SizeBasedTriggeringPolicy
          attributes:
            size: 50 MB
  - name: async
    plugin: Async
    appender_ref:
      - ref: "test-log-appender"

loggers:
  level: ALL  
  appender_ref:
  - ref: "console-log"
    attributes:
      level: DEBUG
  - ref: "async"
    attributes:
      level: INFO
  - ref: "all-log-appender"
    attributes:
      level: TRACE
  - ref: "error-log-appender"
    attributes:
      level: ERROR




© 2015 - 2024 Weber Informatics LLC | Privacy Policy