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

Use ProgramData for Windows service logs #4765

Merged
merged 1 commit into from
Jul 27, 2017

Conversation

andrewkroh
Copy link
Member

The logs for Beats that are running as Windows services are currently written to C:\Program Files\[beatname]\logs (or the extract path which is path.home). Our Getting Started guides say that the logs go to C:\ProgramData\[beatname]\Logs. This PR sets path.log for the Windows service to C:\ProgramData\[beatname]\logs.

See #4764

The logs for Beats that are running as Windows services are currently written to `C:\Program Files\[beatname]\logs` (or the extract path which is `path.home`). Our Getting Started guides say that the logs go to `C:\ProgramData\[beatname]\Logs`. This PR sets `path.log` for the Windows service to `C:\ProgramData\[beatname]\logs`.

See elastic#4764
@exekias exekias merged commit 47d3db4 into elastic:master Jul 27, 2017
@andrewkroh andrewkroh added the needs_backport PR is waiting to be backported to other branches. label Aug 8, 2017
@andrewkroh andrewkroh removed the needs_backport PR is waiting to be backported to other branches. label Aug 8, 2017
andrewkroh added a commit to andrewkroh/beats that referenced this pull request Aug 8, 2017
The logs for Beats that are running as Windows services are currently written to `C:\Program Files\[beatname]\logs` (or the extract path which is `path.home`). Our Getting Started guides say that the logs go to `C:\ProgramData\[beatname]\Logs`. This PR sets `path.log` for the Windows service to `C:\ProgramData\[beatname]\logs`.

See elastic#4764
(cherry picked from commit 47d3db4)
tsg pushed a commit that referenced this pull request Aug 9, 2017
The logs for Beats that are running as Windows services are currently written to `C:\Program Files\[beatname]\logs` (or the extract path which is `path.home`). Our Getting Started guides say that the logs go to `C:\ProgramData\[beatname]\Logs`. This PR sets `path.log` for the Windows service to `C:\ProgramData\[beatname]\logs`.

See #4764
(cherry picked from commit 47d3db4)
@andrewkroh andrewkroh deleted the feature/windows-path-logs branch January 17, 2018 16:46
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
The logs for Beats that are running as Windows services are currently written to `C:\Program Files\[beatname]\logs` (or the extract path which is `path.home`). Our Getting Started guides say that the logs go to `C:\ProgramData\[beatname]\Logs`. This PR sets `path.log` for the Windows service to `C:\ProgramData\[beatname]\logs`.

See elastic#4764
(cherry picked from commit 2169bdd)
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