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

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -

How to run C# code using mono without Xamarin in Android? -