Searched refs:log_file (Results 1 – 1 of 1) sorted by relevance
691 static void log_locally(time_t now, char *msg, logFile_t *log_file) in log_locally() argument700 if (log_file->fd > 1) { in log_locally()709 if (log_file->last_log_time != now) { in log_locally()710 log_file->last_log_time = now; in log_locally()711 close(log_file->fd); in log_locally()715 else if (log_file->fd == 1) { in log_locally()719 if (LONE_DASH(log_file->path)) { in log_locally()720 log_file->fd = 1; in log_locally()724 log_file->fd = open(log_file->path, O_WRONLY | O_CREAT in log_locally()727 if (log_file->fd < 0) { in log_locally()[all …]