[Sysfence-commit] sysfence sysfence.c,1.24,1.25
Status: Alpha
Brought to you by:
emes
|
From: Michal S. <em...@us...> - 2004-05-31 14:09:17
|
Update of /cvsroot/sysfence/sysfence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9234 Modified Files: sysfence.c Log Message: * start logging before parsing, to allow debug messages to appear Index: sysfence.c =================================================================== RCS file: /cvsroot/sysfence/sysfence/sysfence.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- sysfence.c 31 May 2004 11:59:29 -0000 1.24 +++ sysfence.c 31 May 2004 14:09:07 -0000 1.25 @@ -60,6 +60,8 @@ #endif if (argc < 2) bail_out (EXIT_NOCONF, NULL); + + log_start (); /* empty list */ tmp_fs_db = NULL; @@ -71,8 +73,7 @@ /* count rules */ rulecount = 0; while (*(ruletab + rulecount) != NULL) rulecount ++; - - log_start (rulecount); + syslog (LOG_INFO, "loaded %d rules", rulecount); /* open files for reading data and detach from console */ open_files (); |