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 log filenames and iterate settings. #4

Open
alma-socar opened this issue May 20, 2016 · 2 comments
Open

Add log filenames and iterate settings. #4

alma-socar opened this issue May 20, 2016 · 2 comments

Comments

@alma-socar
Copy link
Contributor

apache2.prototype.logCommand = 'tail -n LINECOUNT /var/log/apache2/access.log | grep \'" [4-5][0-9][0-9] \'';

Currently it only tracks access.log and error.log.
And somehow apache access_log is not sent to slack channel. (Didn't check sending code yet)

@kokarn
Copy link
Owner

kokarn commented May 20, 2016

How do you mean "add log filenames" ? Make them configureable? Sounds like a good plan.

Regarding access log not sending to channel, it "should" work. It does however only log 4XX and 5XX responses.

@alma-socar
Copy link
Contributor Author

  1. Yes, configurable due to our setup. We have multiple logs in a single path such as app_access.log, web_access.log and so on.
  2. I'll check and comment again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants