I'm using Syslog for the first time to log my C/C++ application.
I want to know what is the berst practice, alwase open/close (with openlog and closelog) for each logging message, or open on the launch of the application and close at the end?
Thanks
open on the launch of the application and close at the end