Added clicon_log_init(.., CLICON_LOG_FILE) option and clicon_log_file() for c\

ases where neither syslog or stderr is useful.
This commit is contained in:
Olof Hagsand 2018-07-26 20:13:02 +02:00
parent 156660419e
commit 5164db3603
10 changed files with 75 additions and 31 deletions

View file

@ -98,6 +98,7 @@ backend_terminate(clicon_handle h)
event_exit();
clicon_log_register_callback(NULL, NULL);
clicon_debug(1, "%s done", __FUNCTION__);
clicon_log_exit();
return 0;
}