removed stderr output for fcgi

svn path=/trunk/boinc/; revision=3774
This commit is contained in:
Matt Lebofsky 2004-07-03 21:45:31 +00:00
parent 7038bf39de
commit 6d547c4c8b
1 changed files with 2 additions and 0 deletions

View File

@ -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);