Skip to content

Commit

Permalink
Touch up debug flags; don't override lib defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed May 4, 2021
1 parent 4d25533 commit aabf80a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/lib/CatenaBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ CatenaBase::begin(void)
{
UniqueID_buffer_t CpuID;

gLog.begin(cLog::DebugFlags(gLog.kError | gLog.kBug));
// use default debug flags
gLog.begin();

this->m_PollingEngine.begin();

Expand Down
3 changes: 0 additions & 3 deletions src/lib/Catena_Download.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,6 @@ cDownload::fsmDispatch(
{
case State_t::stInitial:
{
// for debugging
//gLog.setFlags(cLog::DebugFlags(gLog.getFlags() | gLog.kTrace));

newState = State_t::stIdle;
}
break;
Expand Down

0 comments on commit aabf80a

Please sign in to comment.