Sha256: f6bfeed70a3c6b70a9e5642ef44d590834a518ac135aa3b55c24549817ccdd45

Contents?: true

Size: 856 Bytes

Versions: 8

Compression:

Stored size: 856 Bytes

Contents

log4r_config:
  # define all loggers ...
  loggers:
    - name      : production
      level     : "LOGGING_LEVEL"
      trace     : "TRACER"
      outputters:
        - logfile
    - name      : development
      level     : "LOGGING_LEVEL"
      trace     : "TRACER"
      outputters:
        - stdout
        - logfile

  # define all outputters (incl. formatters)
  outputters:
    - type     : StdoutOutputter
      name     : stdout
      formatter:
        date_pattern: '%Y-%m-%d %H:%M:%S'
        pattern     : '%d %l: %m '
        type        : PatternFormatter

    - type     : DateFileOutputter
      name     : logfile
      dirname  : "#{DIRNAME}"
      filename : "#{LOGNAME}" # notice the file extension is needed!
      formatter:
        date_pattern: '%H:%M:%S'
        pattern     : '%d %l: %m '
        type        : PatternFormatter

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hyla-1.0.9 lib/configs/log4r.yaml
hyla-1.0.9.pre.3 lib/configs/log4r.yaml
hyla-1.0.9.pre.2 lib/configs/log4r.yaml
hyla-1.0.9.pre.1 lib/configs/log4r.yaml
hyla-1.0.8 lib/configs/log4r.yaml
hyla-1.0.7 lib/configs/log4r.yaml
hyla-1.0.7.pre.9 lib/configs/log4r.yaml
hyla-1.0.7.pre.8 lib/configs/log4r.yaml