Updated logging init

This commit is contained in:
Michiel Broek
2002-09-28 22:22:50 +00:00
parent 9c82eff9a8
commit 3acdbd8239
21 changed files with 102 additions and 97 deletions

View File

@@ -191,7 +191,7 @@ int main(int argc, char *argv[])
TermInit(1);
t_start = c_start = c_end = time(NULL);
InitClient(pw->pw_name, (char *)"mbcico", CFG.location, CFG.logfile, CFG.cico_loglevel, CFG.error_log);
InitClient(pw->pw_name, (char *)"mbcico", CFG.location, CFG.logfile, CFG.cico_loglevel, CFG.error_log, CFG.mgrlog);
Syslog(' ', " ");
Syslog(' ', "MBCICO v%s", VERSION);

View File

@@ -231,7 +231,7 @@ int main(int argc, char *argv[])
ProgName();
pw = getpwuid(getuid());
InitClient(pw->pw_name, (char *)"mbout", CFG.location, CFG.logfile, CFG.util_loglevel, CFG.error_log);
InitClient(pw->pw_name, (char *)"mbout", CFG.location, CFG.logfile, CFG.util_loglevel, CFG.error_log, CFG.mgrlog);
Syslog(' ', " ");
Syslog(' ', "MBOUT v%s", VERSION);
Syslog(' ', cmd);