changeset 5458:d7c9c85d78dc

fix logging unit tests
author Alain Mazy <am@osimis.io>
date Fri, 08 Dec 2023 10:26:53 +0100
parents 312e866e2550
children 46ed738c3e5d 1474fd6ea6c6
files OrthancFramework/UnitTestsSources/LoggingTests.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/LoggingTests.cpp	Fri Dec 08 10:15:09 2023 +0100
+++ b/OrthancFramework/UnitTestsSources/LoggingTests.cpp	Fri Dec 08 10:26:53 2023 +0100
@@ -69,7 +69,7 @@
                               const std::string& logLine)
 {
   const char* regexStr = "[A-Z][0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6} "
-    "[a-zA-Z\\.\\-_]+:[0-9]+\\] (.*)" EOLSTRING "$";
+    ".{16} [a-zA-Z\\.\\-_]+:[0-9]+\\] (.*)" EOLSTRING "$";
 
   boost::regex regexObj(regexStr);