Files
gristlabs_grist-core/app/server/lib
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
..
2022-09-29 18:02:09 +02:00
2023-01-26 09:47:14 +01:00
2022-02-19 09:46:49 +00:00
2022-02-19 09:46:49 +00:00
2022-07-04 10:42:40 -04:00
2022-06-17 21:53:20 +02:00
2023-02-20 22:46:36 -05:00
2022-07-04 10:42:40 -04:00
2023-04-03 13:29:35 -04:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2023-05-23 15:50:15 -04:00
2022-04-01 15:24:19 -07:00
2022-07-04 10:42:40 -04:00
2020-07-21 20:39:10 -04:00
2022-08-25 12:38:36 -07:00