Dmitry S
534615dd50
(core) Update logging in sandbox code, and log tracebacks as single log messages.
...
Summary:
- Replace logger module by the standard module 'logging'.
- When a log message from the sandbox includes newlines (e.g. for tracebacks),
keep those lines together in the Node log message.
Previously each line was a different message, making it difficult to view
tracebacks, particularly in prod where each line becomes a separate message
object.
- Fix assorted lint errors.
Test Plan: Added a test for the log-line splitting and escaping logic.
Reviewers: georgegevoian
Reviewed By: georgegevoian
Differential Revision: https://phab.getgrist.com/D3956
2023-07-18 11:21:25 -04:00
..
2023-05-02 10:28:14 -04:00
2023-07-18 11:21:25 -04:00
2022-11-09 16:33:11 +01:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2022-10-17 13:38:21 +02:00
2023-07-18 11:21:25 -04:00
2023-06-14 18:24:27 -04:00
2023-06-27 15:57:56 +02:00
2022-10-28 14:44:14 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-02-09 12:49:58 -05:00
2023-07-18 11:21:25 -04:00
2023-02-09 12:49:58 -05:00
2023-07-18 11:21:25 -04:00
2023-05-15 11:56:15 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2022-11-09 16:33:11 +01:00
2023-04-25 15:28:40 -04:00
2023-07-18 11:21:25 -04:00
2022-10-04 15:19:28 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-04-25 15:28:40 -04:00
2023-06-27 15:57:56 +02:00
2022-10-25 12:15:13 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-02-09 12:49:58 -05:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2022-10-04 15:19:28 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2022-10-04 15:19:28 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00