elastic / elastic/logstash

Pass "Pipeline started" and "Pipeline shutdown complete." log messages to WARN level

Open
#4,147 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

Presently, by default (warn level), in logstash logs, there is no information to say when logstash is started and when it is stopped.
If we activate --verbose option (to set info level), we have more than 7500 lines of logs just at startup, so it's too verbose for production needs.

My proposition to easily add this simple information in logs, is to pass "Pipeline started" and "Pipeline shutdown complete." log messages to WARN level.

Thereby, we could have such logs, by default :

```
{:timestamp=>"2015-11-05T18:39:24.391000+0100", :message=>"Pipeline started", :level=>:warn}
{:timestamp=>"2015-11-05T18:40:25.481000+0100", :message=>"Pipeline shutdown complete.", :level=>:warn}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.