ClickHouse/src/Loggers
Azat Khuzhin 313747688e Ignore memory limits while logging
Otherwise there can be pretty noisy messages, like here [1]:

    Cannot add message to the log: Code: 241. DB::Exception: Memory limit (for user) exceeded: would use 42.02 MiB (attempt to allocate chunk of 2101278 bytes), maximum: 4.77 MiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached. (MEMORY_LIMIT_EXCEEDED), Stack trace (when copying this message, always include the lines below):

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/0/efc74e33e580b7d3ff33c3e269db86addfaa6b51/stateless_tests__msan__[2/3].html

And it should be okay to ignore server limits too, since it always
better to have a proper log message in a proper place, not stderr which
does not inspected usually.

Follow-up for: #24069
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-09-05 12:20:15 +02:00
..
CMakeLists.txt base should not depend on Common 2022-04-29 10:26:35 +08:00
ExtendedLogChannel.cpp First try at reducing the use of StringRef 2022-07-17 17:26:02 +00:00
ExtendedLogChannel.h base should not depend on Common 2022-04-29 10:26:35 +08:00
Loggers.cpp Update src/Loggers/Loggers.cpp 2022-08-30 23:20:19 -03:00
Loggers.h base should not depend on Common 2022-04-29 10:26:35 +08:00
OwnFormattingChannel.cpp reflected change requests asked on July 27 2022-07-28 09:20:28 -07:00
OwnFormattingChannel.h Merge branch 'ClickHouse:master' into Structured-Logging-Support 2022-08-09 15:39:00 -03:00
OwnJSONPatternFormatter.cpp addressed minor change requests 2022-08-30 23:20:19 -03:00
OwnJSONPatternFormatter.h addressed minor change requests 2022-08-30 23:20:19 -03:00
OwnPatternFormatter.cpp changing OwnPatternFormatter.cpp to its original version 2022-08-02 06:42:50 -07:00
OwnPatternFormatter.h reflected change requests asked on July 27 2022-07-28 09:20:28 -07:00
OwnSplitChannel.cpp Ignore memory limits while logging 2022-09-05 12:20:15 +02:00
OwnSplitChannel.h Fix logs rotation issue 2022-07-25 13:58:04 +00:00