Posted by chantra on 27th January 2012
When enabling logs with HAProxy on a busy web site, hard disk space can quickly become a scarce resource.
The reason is that, most of the time, HAProxy is set to use local0 facility which tend to write logs to a bunch of files in /var/log such as messages…
Thanks to rsyslog, we will be able to canalize those logs to a more appropriate location and only once, saving a bunch of disk space.
This tutorial will go over the steps required to accomplish this set up.
Read the rest of this entry »
Tags: logging, system
Posted in Administration, HowTo, System | 5 Comments »
Posted by chantra on 30th June 2008
syslogd is the Linux system logging utility that take care of filling up your files in /var/log when it is asked to.
On a standard system, logging is only done on the local drive. But syslog can be configured to receive logging from a remote client, or to send logging to a remote syslog server.
Some of the use cases could be:
- A machine which filesystem goes read-only
- Log replication
this tutorial will explain how to set up both the server, to receive message from a remote client, and the client to emit messages to a syslogd server.
Read the rest of this entry »
Tags: logging, system
Posted in Administration, HowTo, System | No Comments »