logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Preferred method for centralizing logs
Author
5kKate



Joined: 20 Mar 2015
Posts: 6

PostPosted: Mon 23 Mar '15 22:05    Post subject: Preferred method for centralizing logs Reply with quote

Which method do you prefer for centralizing your logs: file monitoring or Pipe to Logger?

Pros/cons?

Thanks!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 24 Mar '15 17:33    Post subject: Reply with quote

I have a log analyser https://github.com/JBlond/apache_log_parser doing that job.

Pro: I find the issue that I need to find
Con: needs log rotation
Back to top
5kKate



Joined: 20 Mar 2015
Posts: 6

PostPosted: Tue 24 Mar '15 18:16    Post subject: Reply with quote

Thanks for the input James. I appreciate it!
Back to top
5kKate



Joined: 20 Mar 2015
Posts: 6

PostPosted: Tue 24 Mar '15 22:52    Post subject: Reply with quote

Thanks again, James. One other question.

What if i want to centralize my logs from several servers? This seems good for filtering out error messages. I would prefer to send all my logs to one central location so I can easily search for errors across all my servers. Currently I'm thinking about using rsyslog to send them to my log server. Is it better to have syslog read from the access log files themselves, or to skip the log files and write directly to syslog over logger?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 24 Mar '15 23:17    Post subject: Reply with quote

I have used http://www.apacheviewer.com/
Back to top


Reply to topic   Topic: Preferred method for centralizing logs View previous topic :: View next topic
Post new topic   Forum Index -> Apache