Actions
Defect #2684
closedSome messages are missing in the Logging events
Start date:
02/12/2021
Due date:
% Done:
100%
Estimated time:
8.00 h
Affected versions:
Owner:
Description
Tested on 10.7.2 when logger logs also in the DB. See the logback configuration in the attachment.
Some messages aren't saved in the logging events, e.g. when getting an invalid certificate with SSL connection.
(Connector test failed javax.naming.CommunicationException: simple bind failed: 172.31.255.180:636 [Root exception is javax.net.ssl.SSLHandshakeException: No subject alternative names matching IP address 172.31.255.180 found])
Probably the message is too long.
Here are some errors from the PostgreSQL log (the first is caused by the wrong certificate, the others unknown).
2021-02-12 14:34:05.487 UTC [783] ERROR: value too long for type character varying(254) 2021-02-12 14:34:05.487 UTC [783] STATEMENT: INSERT INTO logging_event_exception (event_id, i, trace_line) VALUES ($1, $2, $3) 2021-02-03 12:34:02.812 UTC [758] ERROR: invalid byte sequence for encoding "UTF8": 0x00 2021-02-03 12:34:02.812 UTC [758] STATEMENT: INSERT INTO logging_event_exception (event_id, i, trace_line) VALUES ($1, $2, $3) 2021-02-03 14:21:00.326 UTC [1116] ERROR: invalid byte sequence for encoding "UTF8": 0x00 2021-02-03 14:21:00.326 UTC [1116] STATEMENT: INSERT INTO logging_event (timestmp, formatted_message, logger_name, level_string, thread_name, reference_flag, arg0, arg1, arg2, arg3, caller_filename, caller_class, caller_method, caller_line) VALUES ($1, $2, $3 ,$4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14)
Files
Related issues
Actions