Process name in syslog messages
[email protected] Thu, 27 Aug 2015 12:02:15 -0700
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <[email protected]> |
When I use uClibc, I have to call openlog with the process name in main so it is the prefix of the syslog messages. If I do not, the prefix is "syslog." When I use glibc, the process name is the prefix of the syslog messages. Is there a way to get uClibc syslog messages be prefixed with the process name without having to call openlog in each process?