Skip to content

Commit

Permalink
LogDetailedCrashReason disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
abumq committed Aug 18, 2013
1 parent a5cd83e commit 6a99807
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ Form some parts of logging you can set logging flags; here are flags supported:
|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
| NewLineForContainer | Makes sure we have new line for each container log entry |
| AllowVerboseIfModuleNotSpecified | Makes sure if -vmodule is used and does not specifies a module, then verbose logging is allowed via that module. Say param was -vmodule=main*=3 and a verbose log is being written from a file called something.cpp then if this flag is enabled, log will be written otherwise it will be disallowed. Note: having this defeats purpose of -vmodule |
| LogDetailedCrashReason | When handling crashes by default, detailed crash reason will be logged as well ([issue #90](https://github.com/easylogging/easyloggingpp/issues/90)) |
| LogDetailedCrashReason | When handling crashes by default, detailed crash reason will be logged as well (Disabled by default) ([issue #90](https://github.com/easylogging/easyloggingpp/issues/90)) |
You can set these flags by using static el::Helpers::addFlag and el::Helpers::removeFlag. You can check to see if certain flag is available by using el::Helpers::hasFlag, all these functions take strong enums el::LoggingFlag
Expand Down
1 change: 0 additions & 1 deletion src/easylogging++.h
Original file line number Diff line number Diff line change
Expand Up @@ -3131,7 +3131,6 @@ class Storage : private base::NoCopy {
performanceLogger->refConfigurations().setGlobally(ConfigurationType::Format, "%datetime %level %log");
performanceLogger->reconfigure();
addFlag(LoggingFlag::AllowVerboseIfModuleNotSpecified);
addFlag(LoggingFlag::LogDetailedCrashReason);
}

virtual ~Storage(void) {
Expand Down

0 comments on commit 6a99807

Please sign in to comment.