projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8db2c
)
Block all internal logs when running without `--enable-logging`
author
Eran Tiktin
<eran.t@mce-sys.com>
Sat, 10 Oct 2015 17:44:22 +0000
(20:44 +0300)
committer
Eran Tiktin
<eran.t@mce-sys.com>
Sat, 10 Oct 2015 17:44:22 +0000
(20:44 +0300)
atom/app/atom_main_delegate.cc
patch
|
blob
|
history
diff --git
a/atom/app/atom_main_delegate.cc
b/atom/app/atom_main_delegate.cc
index
6ba1b89
..
639340b
100644
(file)
--- a/
atom/app/atom_main_delegate.cc
+++ b/
atom/app/atom_main_delegate.cc
@@
-48,8
+48,10
@@
bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
// Only enable logging when --enable-logging is specified.
auto command_line = base::CommandLine::ForCurrentProcess();
- if (!command_line->HasSwitch(switches::kEnableLogging))
+ if (!command_line->HasSwitch(switches::kEnableLogging))
{
settings.logging_dest = logging::LOG_NONE;
+ logging::SetMinLogLevel(logging::LOG_NUM_SEVERITIES);
+ }
logging::InitLogging(settings);