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
2022-06-17 21:53:20 +02:00
2022-09-09 22:15:45 +02:00
2022-02-03 16:22:51 -05:00
2022-09-28 19:42:36 +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
2021-06-25 22:53:07 -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
2021-11-09 18:08:29 +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
2020-07-29 08:57:25 -04:00
2023-07-18 11:21:25 -04:00
2022-02-04 20:28:13 +02: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
2021-06-22 17:13:17 +02:00
2021-08-12 11:51:21 -07:00
2022-09-20 17:22:28 +02:00
2023-07-18 11:21:25 -04:00
2023-05-15 11:56:15 -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
2020-07-29 08:57:25 -04: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
2021-06-18 15:42:20 +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
2022-02-19 09:46:49 +00:00
2023-04-25 15:28:40 -04:00
2023-06-27 15:57:56 +02:00
2022-05-25 16:21:04 +02:00
2022-10-25 12:15:13 +02:00
2022-08-12 19:45:00 +02:00
2023-07-18 11:21:25 -04:00
2023-07-18 11:21:25 -04:00
2022-02-22 00:27:51 +02:00
2021-06-22 17:13:17 +02:00
2022-02-04 20:28:13 +02:00
2023-07-18 11:21:25 -04:00
2022-04-05 18:05:00 +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-02-09 12:49:58 -05:00
2022-06-17 21:53:20 +02:00
2022-08-09 20:11:36 +02:00
2022-05-04 21:41:42 +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
2021-06-22 17:13:17 +02:00
2020-12-15 16:39:56 -05:00
2021-06-22 17:13:17 +02:00
2020-07-29 08:57: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
2022-09-09 22:15:45 +02:00
2021-06-25 12:00:58 +02:00
2022-10-04 15:19:28 +02:00
2023-07-18 11:21:25 -04:00
2020-07-29 08:57:25 -04:00
2022-05-04 21:41:42 +02:00
2023-07-18 11:21:25 -04:00
2021-06-25 12:00:58 +02:00
2020-07-29 08:57:25 -04:00
2021-06-22 17:13:17 +02:00
2022-09-07 14:15:34 -04:00
2021-06-25 12:00:58 +02:00
2022-10-04 15:19:28 +02:00
2023-07-18 11:21:25 -04:00
2021-09-24 15:07:09 +02:00
2023-07-18 11:21:25 -04:00
2021-06-30 21:46:18 +02:00