summaryrefslogtreecommitdiffstats
path: root/courgette
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-16 01:19:59 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-16 01:19:59 +0000
commitaa32bccb292a8e9e153bd44544558e36f440f21e (patch)
treeb75a8f60f1901127390db3361b6ca399f4de3f45 /courgette
parent2e28eb55c920472ec33182561aae558ae4bcefc7 (diff)
downloadchromium_src-aa32bccb292a8e9e153bd44544558e36f440f21e.zip
chromium_src-aa32bccb292a8e9e153bd44544558e36f440f21e.tar.gz
chromium_src-aa32bccb292a8e9e153bd44544558e36f440f21e.tar.bz2
Call InitLogging() for courgette.
BUG=None TEST=Manually Review URL: http://codereview.chromium.org/5038002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66208 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette')
-rw-r--r--courgette/courgette_tool.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/courgette/courgette_tool.cc b/courgette/courgette_tool.cc
index 30714d3..0cea7ca 100644
--- a/courgette/courgette_tool.cc
+++ b/courgette/courgette_tool.cc
@@ -345,6 +345,12 @@ int main(int argc, const char* argv[]) {
CommandLine::Init(argc, argv);
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
+ (void)logging::InitLogging("courgette.log",
+ logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG,
+ logging::LOCK_LOG_FILE,
+ logging::APPEND_TO_OLD_LOG_FILE);
+ logging::SetMinLogLevel(logging::LOG_VERBOSE);
+
bool cmd_dis = command_line.HasSwitch("dis");
bool cmd_asm = command_line.HasSwitch("asm");
bool cmd_disadj = command_line.HasSwitch("disadj");