Skip to content

Commit

Permalink
Call InitLogging() for courgette.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
akalin@chromium.org committed Nov 16, 2010
1 parent 2e28eb5 commit aa32bcc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions courgette/courgette_tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit aa32bcc

Please sign in to comment.