Mercurial > hg > orthanc
changeset 5459:46ed738c3e5d pg-transactions
merge default -> pg-transactions
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 08 Dec 2023 10:27:24 +0100 |
parents | 06eb8bc9f024 (current diff) d7c9c85d78dc (diff) |
children | 38f1d06875ad |
files | OrthancServer/Sources/main.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/LoggingTests.cpp Fri Dec 08 09:18:44 2023 +0100 +++ b/OrthancFramework/UnitTestsSources/LoggingTests.cpp Fri Dec 08 10:27:24 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);
--- a/OrthancServer/Sources/main.cpp Fri Dec 08 09:18:44 2023 +0100 +++ b/OrthancServer/Sources/main.cpp Fri Dec 08 10:27:24 2023 +0100 @@ -1182,7 +1182,7 @@ else { context.SetRestApiWriteToFileSystemEnabled(false); - LOG(WARNING) << "REST API cannot write to the file system."; + LOG(WARNING) << "REST API cannot write to the file system bacause the \"RestApiWriteToFileSystemEnabled\" configuration is set to false. The URI /instances/../export is disabled. This is the most secure configuration."; } if (lock.GetConfiguration().GetBooleanParameter("WebDavEnabled", true))