nlf / bucker

A simple logging library for node.js
82 stars 28 forks source link

Teach logStash to optionally log to a local file #29

Closed cjthompson closed 2 years ago

cjthompson commented 10 years ago

This change leverages the logstash writer to write to a log file using the logstash format.

This change allows for a file key to define an output log file that will be written to independently of the redis or udp settings.

{
    "logstash": {
         "file": "/var/log/app/logstash.log"
    }
}