Lines Matching refs:logfile
249 FILE *logfile;
1731 if (loglevel && !logfile) {
1732 logfile = fopen(logfilename, log_append ? "a" : "w");
1733 if (!logfile) {
1741 setvbuf(logfile, logfile_buf, _IOLBF, sizeof(logfile_buf));
1745 setvbuf(logfile, NULL, _IOLBF, 0);
1749 if (!loglevel && logfile) {
1750 fclose(logfile);
1751 logfile = NULL;
1758 if (logfile) {
1759 fclose(logfile);
1760 logfile = NULL;