Skip to content

Commit

Permalink
changed logdump to wait 5 sec to check files
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmales committed Jul 29, 2024
1 parent 98681e5 commit 929dc20
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions utils/logdump/logdump.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class logdump : public mx::app::application
bool m_jsonMode {false};

unsigned long m_pauseTime {250}; ///When following, pause time to check for new data. msec. Default is 250 msec.
int m_fileCheckInterval {4}; ///When following, number of loops to wait before checking for a new file. Default is 4.
int m_fileCheckInterval {20}; ///When following, number of loops to wait before checking for a new file. Default is 4.

std::vector<std::string> m_prefixes;

Expand Down Expand Up @@ -331,9 +331,12 @@ int logdump::execute()
return -1;
}

if (m_jsonMode) {
if (m_jsonMode)
{
printLogJson(len, logBuff);
} else {
}
else
{
printLogBuff(lvl, ec, len, logBuff);
}

Expand Down

0 comments on commit 929dc20

Please sign in to comment.