[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: icecream/client
From: Frank Osterfeld <frank.osterfeld () kdemail ! net>
Date: 2009-04-09 18:35:57
Message-ID: 1239302157.753253.29361.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 951598 by osterfeld:
add ICECC_LOGFILE to get trace() output into a file
M +5 -1 main.cpp
--- trunk/icecream/client/main.cpp #951597:951598
@@ -81,6 +81,7 @@
" ICECC_VERSION use a specific icecc environment, see create-env\n"
" ICECC_DEBUG [info | warnings | debug]\n"
" sets verboseness of icecream client.\n"
+" ICECC_LOGFILE if set, additional debug information is logged to the specified file\n"
" ICECC_REPEAT_RATE the number of jobs out of 1000 that should be\n"
" compiled on multiple hosts to ensure that they're\n"
" producing the same output. The default is 10.\n"
@@ -182,7 +183,10 @@
debug_level |= Info|Debug|Warning;
}
- setup_debug(debug_level, string(), "ICECC");
+ std::string logfile;
+ if (const char* logfileEnv = getenv("ICECC_LOGFILE"))
+ logfile = logfileEnv;
+ setup_debug(debug_level, logfile, "ICECC");
CompileJob job;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic