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

where does consul installed through this cookbook write its logs #290

Closed
MichaelKueller opened this issue Mar 16, 2016 · 8 comments · Fixed by #292
Closed

where does consul installed through this cookbook write its logs #290

MichaelKueller opened this issue Mar 16, 2016 · 8 comments · Fixed by #292

Comments

@MichaelKueller
Copy link
Contributor

I'm running debian and I cannot find the log files created by consul.
Also can the location be configured, as I would like to have the log in /var/log/consul.log?

@johnbellone
Copy link
Contributor

What platform/version are you running?

@MichaelKueller
Copy link
Contributor Author

I'm running debian 7.9

@MichaelKueller MichaelKueller changed the title where does consul installed through this cookbook write it's logs where does consul installed through this cookbook write its logs Mar 16, 2016
@johnbellone
Copy link
Contributor

You can check /var/log/upstart/consul.log.

@MichaelKueller
Copy link
Contributor Author

No, unfortunately not. The upstart directory does not exist under plain debian. As far as I know only older Ubuntu versions use upstart.
Where can the log directory be configured?

@johnbellone
Copy link
Contributor

Is that version of Debian SysV?

johnbellone pushed a commit that referenced this issue Mar 17, 2016
I am not sure how this was missed before. This change for sysvinit
writes the service logs out to /var/log/consul.log.

This should close #284 and close #290.
@johnbellone
Copy link
Contributor

This should be fixed in master. As long as there are no major problems I'll release as 2.0 by tomorrow afternoon.

@MichaelKueller
Copy link
Contributor Author

That sounds great! thanks for the immediate response and help.

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants