Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

There is no direct connection between those two but I will try to explain.

  1. As far as I understood /var/log/messages is eliminated from latest Ubuntu disto and now all goes to /var/log/syslog. Fine, I didn't have /var/log/messages.

  2. I needed to have remote syslog facility, so googling brought me to installing sysklogd. After installing it, remote syslog worked well, but then /var/log/messages appeared.

Now the question is - how to solve this nicely? Was it mistake to install sysklogd and there was some better way? Should I now modify sysklogd configuration (or some other configs) in order to eliminate /var/log/messages again?

share|improve this question
    
why do you need to eliminate messages? It/s the same, as long as you know where to look for the actual messages. If you are collecting logs on a remote syslog server then the local files are just in case if the remote server would not be available. –  Jure1873 Feb 10 '12 at 14:25
    
Because I want to keep the system as it was designed, according to this: askubuntu.com/questions/51265/where-is-var-log-messages –  Michael Feb 10 '12 at 14:28

1 Answer 1

up vote 0 down vote accepted

At the end of the day, what really matters is 1) are the things you want logged being logged and 2) can you find them. If you're doing remote syslog logging to somewhere you're actually gonig to pay attention to, you could even turn off local logging; it depends on the situation and your preferences. There's nothing magical about /var/log/messages; it's just a file that 'usually' exists, like /etc/inittab, for instance - it's traditional, but traditions change.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.