0
votes
1answer
23 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
43 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 ...
1
vote
2answers
910 views

Monitor Postfix outgoing mail delivery

I'm using GNU Mailman with Postfix to run a mailing list, and would like to monitor the delivery of outgoing mail, that is: for each mail sent from the list, check whether a 250 (OK) message was ...
0
votes
2answers
180 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 { ...
0
votes
1answer
403 views

Linux Mint syslog file?

I was checking my syslog file in the var/log directory. I am using Linux Mint. First of all, the log file is only showing the log for today's date. The log for yesterday is not showing. Does the ...
0
votes
1answer
166 views

Syslog cannot start

I run rsyslog on Ubuntu server. after rsyslog starts, it restarts in a loop. here is a piece of /var/log/syslog: Aug 13 16:05:50 ip-10-92-237-215 rsyslogd: rsyslogd's groupid changed to 103 Aug 13 ...
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 ...
1
vote
1answer
545 views

Configuring SELINUX to allow logging to a file that's outside /var/log

I have a daemon that uses syslog(3) to log to a file that is not a descendant of /var/log. Currently, this requires that SELINUX be disabled. How can I configure an enabled SELINUX to allow this ...
0
votes
1answer
124 views

Are there any command line syslog listeners for Linux?

We have several embedded systems that can be configured to send log data to a remote server for debugging purposes. However such is the hassle of configuring the developers machine to listen and ...
0
votes
1answer
59 views

Is there a standard way of redirecting syslog events to the terminal?

Say I have a program which is a source of syslog events that I'd like to observe. Is there a standard way to run the program while sending the syslog events to its controlling terminal? Answers to ...
0
votes
1answer
35 views

What do the numbers mean in syslog-ng.d?

On Linux (Ubuntu 12.04) the directory syslog-nd.g contains syslog configuration files like 00-default-destinations 00-default-options 00-default-sources 10-console I am not sure if those files are ...
0
votes
0answers
241 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
179 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
1answer
278 views

How to capture the remote [ rsh/rcp ] login events and information using syslog.conf

I am exploring ways to capture the remote login events in my Linux server [ Oracle Linux 5x ]. Many users are connecting to the server using rcp and rsh protocols , I wish to capture the events [ such ...
2
votes
1answer
114 views

Any ideas how I could get cpu and disk information from 2 raspberry pis connected on a network and displays them on my mac?

I have 2 raspberry pis on my home network performing different tasks. sometimes, I'd like to see their cpu and disk usage on my mac, without needing to login via ssh. is there a service (can this be ...
2
votes
1answer
1k views

configure rsyslog server to log incomming messages with time of the rsyslog server

I would like to configure our rsyslog server to drop the timestamp of the incoming messages and replace them with time from the rsyslog server. Reason for this is that we have some system that don't ...
0
votes
1answer
17 views

Logs appear to have switched off?

I'm running a ASUS EEE 701 laptop with the stock linux OS. I was (and still am) having problems with a cron not running - so I went to look at the logs - and it turns out that none of the logs ...
0
votes
1answer
83 views

I'm trying to limit rsyslog outgoing to Emerg, crit , alert and error but having difficulty

This is the line i have: *.=emerg,crit,alert,error @@syslogserver:1468 What i'm receiving is all messages. Is there anything wrong with this syntax?
3
votes
3answers
14k views

How to stop kernel messages from flooding my console?

I'm using Centos 6, rsyslog logging. Console is flooded with kernel messages. Klogd is not running (I'm using rsyslog) Rsyslog config does not direct anything to the console Even tried stopping ...
1
vote
1answer
588 views

Useless nm_dbus_manager_init_bus error messages fill log

My system runs fine, but /var/log/messages repeats this message every few seconds, filling up my log directory: Oct 13 09:10:57 barry NetworkManager: <WARN> nm_dbus_manager_init_bus(): Could ...
2
votes
1answer
856 views

Why is syslog so much slower than file IO?

I wrote a simple test program to measure the performance of the syslog function. This are the results of my test system: (Debian 6.0.2 with Linux 2.6.32-5-amd64) Test Case Calls ...
1
vote
1answer
514 views

Handling network plug/unplug in (Debian) Linux

I want to run a script when the switch goes down and an other when it goes up. Is there an easy way to pull this off in Debian (preferably with no other than system tools)? I suppose there is no ...