Lines Matching refs:logfile
83 logfile = NULL;
102 delete logfile;
351 if (logfile->append(&le) < 0) {
368 if (logfile->sync_log() < 0) {
432 /* close existing logfile and delete its structure */
439 if (logfile != NULL) {
441 logfile->sync_log();
442 if (logfile->close() < 0) {
447 delete logfile;
448 logfile = NULL;
455 /* close existing logfile, but leave its structure if exists */
460 if (logfile != NULL && logfile_opened == TRUE) {
461 logfile->sync_log();
462 logfile->close();
471 /* open logfile, creating its structure if it does not exist */
476 if (logfile == NULL) {
477 if ((logfile = new db_log(logfilename, PICKLE_APPEND))
488 logfile->copylog = copylog;
490 if ((logfile->open()) == NULL){
492 delete logfile;
493 logfile = NULL;
584 if (logfile->append(j) < 0) {
599 Does not affect "logfile" */
647 syslog(LOG_ERR, "incorporation of db logfile '%s' load failed",
672 unlink(logfilename); /* delete previous logfile */
820 unlink(logfilename); /* delete logfile */
832 if (logfile == 0) {
835 if (logfile_opened == FALSE || logfile->sync_log())