-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
ChatOps Log Does Not Exist On CentOS7/Ubuntu16 #300
Comments
|
Thanks @humblearner. Looks like there is an actual bug in centos 7. |
It looks like we get logging on centos7 for python processes because of explicit app logging. Let me confirm with @enykeev. |
I am right and this is a blocker to enable app level logging for hubot. hubotio/hubot#1164 |
At the moment, for systemd (CentOS7, Ubuntu16) the only way is: journalctl --unit=st2chatops |
Should be closed with c590deffdc11a325352c0c04a4d2635f9e3325c4, but I've only tested on Ubuntu 16.04 so far. |
@blag The change mentioned (which is BTW a direct push to master and not a PR 👎 ) just brings workarounds for self-check script, but doesn't fix the root cause. Eg. |
Newer systemd versions allow specifying a log file, but this won't work for Ubuntu16 or RHEL 7. There are some ugly workarounds, but they're ugly. No obvious good solution here. |
On OS CentOS7/Ubuntu16 with
systemd
init the chatops logs are ending up in /var/log/messages and /var/log/st2/st2chatops.log does not exist.The text was updated successfully, but these errors were encountered: