#7979 Set syslog ident
Opened a year ago by cheimes. Modified a year ago

Request for enhancement

libgssapi / python-gssapi use syslog to log events to the system journal. syslog uses the process name argv[0] from int main(int argc, char **argv). This means that the process name in the syslog is just python3 and not the script name.

IPA should set a syslog ident to make it easier to identify issues with gssapi, e.g. syslog.openlog(os.path.basename(sys.argv[0])).

Login to comment on this ticket.