Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have installed logzilla for monitoring the logs and its is storing logs in

mysql database.

I want to know that will my logs now only get entered in mysql or i can access them as normal as well

like /var/log/messages

share|improve this question
Are there new entries still appearing in /var/log/messages and so on? Are the possible new entries the same than the ones in MySQL? If so, then it's logging to both. – Janne Pikkarainen Aug 24 '10 at 8:48

1 Answer

up vote 0 down vote accepted

it depends on the rules :>

Logzilla is just to view the logs that has been saved into the database. But somehow these logs must be redirected there. That's where syslogd and it's derivatives (syslog-ng rsyslog) take their positions.

The big question is ... how do you place the logs into the database ? Could you send a sample of the configuration ? What do you use ? syslogd ? syslog-ng ? rsyslog ?

share|improve this answer
i used syslog-ng – John Aug 24 '10 at 10:40
ok. could you send me the configuration ? Otherwise i cannot tell if you save them both on the disk and the database. – Nikolaidis Fotis Aug 24 '10 at 12:06
where is the config file located – John Aug 25 '10 at 0:33
/etc/syslog.conf – Nikolaidis Fotis Aug 25 '10 at 7:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.