- openlog identity options facilityprocedure
Open a connection to the system logger. Identity is prepended to every message. The option-argument specify flags which control the operation of openlog and subsequent calls to syslog. See options for a list of provided option-constants. Options can be or'ed together. Facility sets the facility the logmessages will have. See facilities for a list of provided facilities. The use of openlog is optional. You can use syslog right away without calling openlog.