From 9a18874b45ed0d67eeb84861d7741406f8612f9b Mon Sep 17 00:00:00 2001 From: Jaime Soriano Pastor Date: Tue, 25 Jun 2019 10:34:20 +0200 Subject: [PATCH] Add warning for logging configuration on systemd (#12577) Since 7.0 we add the `-e` flag to all beats from the systemd unit file. This make them to log to stderr on systems with systemd, what is the recommended behaviour on these systems, so local logs are managed by journald. This creates some confusion as the added flags make beats ignore other output settings added to the configuration files. Add a new warning in the logging configuration page about this. --- journalbeat.reference.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/journalbeat.reference.yml b/journalbeat.reference.yml index a2dc41621fa..c4756f78027 100644 --- a/journalbeat.reference.yml +++ b/journalbeat.reference.yml @@ -1078,6 +1078,9 @@ setup.kibana: # Multiple selectors can be chained. #logging.selectors: [ ] +# Send all logging output to stderr. The default is false. +#logging.to_stderr: false + # Send all logging output to syslog. The default is false. #logging.to_syslog: false