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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -