r/linuxdev • u/ElGringoFlicka • Dec 10 '15
syslog vs. rsyslog
Searching the internet for the difference between syslog and rsyslog gives quite a few results geared towards system admins, not for application developers. So, I'm coming to you people for help!
Setup: I am using Ubuntu 14.04 for my applications (building and running natively). When running this command:
ps -aux | grep syslogI see these two processing running:
/usr/bin/pulseaudio --start --log-target=syslog
rsyslogdIs my system using rsyslog instead of syslog? Can one/ should one run syslog and rsyslog at the same time? It still looks like my application logs are being written to /var/log/syslog.
From an application running on my system is an openlog(...) system call opening rsyslog instead of syslog? How do I know this?
As you can tell I'm kind of a noob so any extra info you can think of would be appreciated.
View all comments
Show parent comment
2
u/ElGringoFlicka Dec 10 '15
Nice explanation. So in my case rsyslog is the daemon running. Is that the default on Ubuntu 14.04?