From 929dc20dc718cea558e019e33b4260c722a72d9a Mon Sep 17 00:00:00 2001 From: Jared Males Date: Sun, 28 Jul 2024 19:14:11 -0700 Subject: [PATCH] changed logdump to wait 5 sec to check files --- utils/logdump/logdump.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/utils/logdump/logdump.hpp b/utils/logdump/logdump.hpp index e9f503ee5..e794015cb 100644 --- a/utils/logdump/logdump.hpp +++ b/utils/logdump/logdump.hpp @@ -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 m_prefixes; @@ -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); }