Sha256: fee0dc2d9e00a6922a9fe8b5d6e75f8907e68bd392abae95bd8cbd2a557f883a

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

# sidekiq-gelf

Enables Sidekiq logging to a GELF-supported server, such as Graylog2.

**Note:** at this time, you must use [this version](https://github.com/layervault/gelf-rb) of gelf-rb. The main version does not have formatted logging support yet.

## Usage

``` ruby
# Replace the sidekiq logger with gelf-rb and set the formatter
# to include important logging information.
# These arguments are passed through to gelf-rb.
Sidekiq::Logging::GELF.hook!('127.0.0.1', 12201, 'LAN', facility: "my-application")
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-gelf-0.0.2 README.md