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-07-18 11:21:25 -04:00
2022-11-09 16:33:11 +01:00
2023-07-18 11:21:25 -04:00
2022-09-09 22:15:45 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2021-06-22 17:13:17 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04: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
2021-08-12 11:51:21 -07:00
2023-07-18 11:21:25 -04:00
2021-11-03 15:31:39 +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
2022-11-09 16:33:11 +01:00
2021-01-04 22:03:01 -05: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-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
2022-08-09 20:11:36 +02:00
2022-05-23 21:06:18 +02:00
2021-11-03 15:31:39 +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
2023-07-18 11:21:25 -04:00
2020-07-29 08:57:25 -04:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2021-06-25 12:00:58 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2021-06-25 12:00:58 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00