Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

On Ubuntu 10.04 LTS, I'm using the stock rsyslog configuration and added a custom file in /etc/rsyslog.d with the following contents:

# cat /etc/rsyslog.d/62-pc 
local3.debug    /var/log/pc/debug.log
local3.*    /var/log/pc/main.log

The two referenced files exist and the files and containing directory are readable and writable by the syslog user. Yet, the only place I find the messages is /var/log/syslog. /var/log/pc/main.log is empty.

In addition, the messages in /var/log/syslog.

I've checked that the program from which the messages originate is not the cause of these troubles: the problem also occurs with the logger command.

What can be wrong here?

share|improve this question
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.