Sha256: 077eaadc8157cf11f8f9ab2031c743587f368414c34b84a99eeef575f3056533

Contents?: true

Size: 1.52 KB

Versions: 7

Compression:

Stored size: 1.52 KB

Contents

development: &development
  styles:
    'timestamp': [ yellow, bold ]
    'file': [ blue, bold ]
    severity:
      debug: green
      info: green
      warn:  yellow
      error: red
      fatal: [ red, blink ]
      unknown: red
  formats:
    default: &default_format >
      {%lt%timestamp} {%5s%severity}
      "{%0.<%= ENV.fetch('COLUMNS', 80).to_i / 2 %>%message}"
      {host}
      {location}
      {file}{-%O%backtrace}{-%O%meta}
    d: *default_format
    long: &long_format |
      timestamp: {%lt%timestamp}
      severity: {severity}
      message: "{message}"
      metric: {metric} {value} {type}
      error_class: {error_class}
      backtrace: {%O%backtrace}
      host: {host}
      location: {location}
      file: {file}
      meta: {%O%meta}\n
    l: *long_format
    legacy: >
      {%0.1s%severity} [{%lt%timestamp} #{%d%pid}] {%5s%severity} --
      {program}: {message}
    metric: >
      {%ft%timestamp} {metric} {value} {type}
  config_files:
    rails:
      - log/development.log
    test:
      - log/test.log
    redis:
      - /usr/local/var/log/redis.log
    elasticsearch:
      - /usr/local/var/log/elasticsearch.log
  legacy_supported: yes
test: *development
staging:
  <<: *development
  sink:
    namespace: betterlog
    source: betterlog-app
    cluster:
      name: betterlog
      zone: europe-west1-b
      project: project-42
production:
  <<: *development
  sink:
    namespace: betterlog
    source: betterlog-app
    cluster:
      name: betterlog
      zone: europe-west1-b
      project: project-666

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
betterlog-0.8.0 config/log.yml
betterlog-0.7.2 config/log.yml
betterlog-0.7.1 config/log.yml
betterlog-0.7.0 config/log.yml
betterlog-0.6.1 config/log.yml
betterlog-0.5.0 config/log.yml
betterlog-0.4.0 config/log.yml