Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning for logging configuration on systemd #12577

Merged
merged 4 commits into from
Jun 25, 2019

Conversation

jsoriano
Copy link
Member

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 flag makes beats
ignore other output settings added to the configuration files.
Add a new warning in the logging configuration page about this.

Related to #8942 and #12024

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.
@jsoriano jsoriano requested a review from a team as a code owner June 17, 2019 16:16
@jsoriano jsoriano self-assigned this Jun 17, 2019
@jsoriano jsoriano added the needs_backport PR is waiting to be backported to other branches. label Jun 17, 2019
@kvch
Copy link
Contributor

kvch commented Jun 18, 2019

I think we should add the option logging.to_stderr to the reference configurations as well.

@jsoriano jsoriano requested review from a team as code owners June 18, 2019 11:18
@jsoriano
Copy link
Member Author

logging.to_stderr added to the reference config, and fixed docs build for winlogbeat.

@jsoriano jsoriano merged commit a6cd5e8 into elastic:master Jun 25, 2019
@jsoriano jsoriano deleted the logging-systemd-docs-warning branch June 25, 2019 08:34
@jsoriano jsoriano added v7.2.0 and removed needs_backport PR is waiting to be backported to other branches. labels Jun 25, 2019
jsoriano added a commit to jsoriano/beats that referenced this pull request Jun 25, 2019
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.

(cherry picked from commit a6cd5e8)
jsoriano added a commit to jsoriano/beats that referenced this pull request Jun 25, 2019
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.

(cherry picked from commit a6cd5e8)
jsoriano added a commit to jsoriano/beats that referenced this pull request Jun 25, 2019
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.

(cherry picked from commit a6cd5e8)
jsoriano added a commit that referenced this pull request Jun 25, 2019
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.

(cherry picked from commit a6cd5e8)
jsoriano added a commit that referenced this pull request Jun 25, 2019
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.

(cherry picked from commit a6cd5e8)
jsoriano added a commit that referenced this pull request Jun 25, 2019
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.

(cherry picked from commit a6cd5e8)
DStape pushed a commit to DStape/beats that referenced this pull request Aug 20, 2019
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.
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…stic#12660)

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.

(cherry picked from commit d8b19dc)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…stic#12661)

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.

(cherry picked from commit d8b19dc)
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…stic#12662)

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.

(cherry picked from commit d8b19dc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants