c - syslogd not adding process/program name in logs -


i using syslog() function log messages. however, doesn't add program name in message originator of messages; instead, adding syslog

e.g

jul 16 01:44:49 2025 localhost syslog: passwords encrypted  

it should

jul 16 01:44:49 2025 localhost mmy_c_program: passwords encrypted  

you may call openlog function first set name of application , facility.


Comments

Popular posts from this blog

r - Trouble relying on third party package imports in my package -

Payment information shows nothing in one page checkout page magento -