0
votes
1answer
35 views

Limiting messages in Centos log file

I have a Centos 6.4 server. I wish to view httpd and PHP errors in /var/log/messages. The log shows a bunch of kernel messages which I don't want to view. How can I either configure syslog to not ...
0
votes
0answers
20 views

How to configure thin yml to adjust log level

I want to adjust the log level of thin, so it is less verbose on my server. In the config there are configured the fields pid: .. log: .. rackup: .. environment: .. user: .. group: .. socket: .. ...
0
votes
0answers
59 views

rsyslog.conf only partly honored

I followed this description on how to enable audit for Samba (entry of Aug 10, 2009) and wanted to get all additionally enabled logging in a special log file (/var/log/samba/log.audit). The mentioned ...
0
votes
2answers
263 views

Logrotate says “log needs rotating” and then does nothing

I have the following logrotate configuration, and a 2 GB /var/log/messages: /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron /var/log/network { ...
3
votes
2answers
3k views

Rsyslog outputting to custom log file

Can anyone tell me what I did wrong here? Here is the ultimate question: Why when I use the logger command can I not get it to output to a custom log file in /var/log? In my script: logger -i -t ...
0
votes
0answers
247 views

How do I configure rsyslog to write to /var/log/{hostname of sender} when receiving remote logs?

My ADSL modem supports remote logging via syslog. I have set up my server, running rsyslog, to accept the log messages from the modem and they are being show in /var/log/syslog along with the messages ...
0
votes
0answers
203 views

How do I setup syslog.conf configuration to log into a custom log file?

I am using syslog in my application, I have created a rule in syslog.conf file to log data from my application in to specific file. This is working correctly, but it is also writing to the standard ...
1
vote
2answers
51 views

VMware ESX/i syslog content

I am working on an expansion of our monitoring footprint, and we are currently looking at including data from our visualized environment. As our monitoring license is based on logged volumes, and we ...
2
votes
1answer
1k views

Configure a UNIX server to send its logs to a remote syslog server?

Is it possible? If so, how is it done exactly? The syslog.conf file doesn't help too much.
1
vote
2answers
211 views

Making log message priority show up in syslog

I'm using Red Hat 6.0 on a testing server. My code contains syslog(pri,"(%u)%s",(unsigned int)getTid(),buf); The log message in syslog looks like (18597)DES=Recved confirmation of successful ...