From 6d547c4c8b01545921f931572402055aabaea0ab Mon Sep 17 00:00:00 2001 From: Matt Lebofsky Date: Sat, 3 Jul 2004 21:45:31 +0000 Subject: [PATCH] removed stderr output for fcgi svn path=/trunk/boinc/; revision=3774 --- sched/main.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sched/main.C b/sched/main.C index 52d28465e2..b60814b187 100644 --- a/sched/main.C +++ b/sched/main.C @@ -105,12 +105,14 @@ int main() { char* code_sign_key; bool project_stopped = false; +#ifndef _USING_FCGI_ get_log_path(path); if (!freopen(path, "a", stderr)) { fprintf(stderr, "Can't redirect stderr\n"); send_message("Server can't open log file", 3600); exit(0); } +#endif log_messages.set_debug_level(DEBUG_LEVEL);