Sha256: 8be60803bc112dd3cecc23ded44edd4f207fcb82c2893642df09371ec9c86a47

Contents?: true

Size: 1.52 KB

Versions: 27

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%error_class}{-%O%backtrace}{-%O%meta}
    d: *default_format
    long: &long_format |
      timestamp: {%lt%timestamp}
      severity: {severity}
      message: "{message}"
      metric: {metric} {value}
      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}
  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

27 entries across 27 versions & 1 rubygems

Version Path
betterlog-2.0.4 config/log.yml
betterlog-2.0.3 config/log.yml
betterlog-2.0.2 config/log.yml
betterlog-2.0.1 config/log.yml
betterlog-2.0.0 config/log.yml
betterlog-1.1.1 config/log.yml
betterlog-1.1.0 config/log.yml
betterlog-1.0.0 config/log.yml
betterlog-0.20.3 config/log.yml
betterlog-0.20.2 config/log.yml
betterlog-0.20.1 config/log.yml
betterlog-0.20.0 config/log.yml
betterlog-0.19.0 config/log.yml
betterlog-0.18.0 config/log.yml
betterlog-0.15.2 config/log.yml
betterlog-0.15.1 config/log.yml
betterlog-0.15.0 config/log.yml
betterlog-0.14.1 config/log.yml
betterlog-0.14.0 config/log.yml
betterlog-0.13.1 config/log.yml