zellij/zellij-utils/src
har7an f26e73ce03
Log thread_bus IPC messages only in debug mode (#1800)
* zellij: Add global `DEBUG_MODE` variable

that tells us whether zellij was started with the `--debug` CLI flag.

* utils/errors: Only log thread_bus message in debug

mode, and discard the message otherwise.

* utils/logging: Increase logsize to 16 MiB

per logfile, totaling 32 MiB of logs at most (in two files).

* zellij: Set global `DEBUG` variable in server

thread and make sure the value of the `--debug` CLI flag is propagated
to the server, too.

This means that to enable debug mode, the server must be started with
the `--debug` flag. This happens when the first client that starts the
zellij session has the `--debug` flag set, because it will be forwarded
to the server. Subsequent clients attaching to the same session with the
`--debug` flag specified **do not** override the value of the `DEBUG`
variable. Hence, if the server wasn't started in debug mode, this cannot
be changed.
2022-10-17 15:34:06 +00:00
..
input feat(layouts): edit panes (#1799) 2022-10-14 17:44:23 +02:00
kdl feat(layouts): edit panes (#1799) 2022-10-14 17:44:23 +02:00
snapshots feat(config): switch to kdl (#1759) 2022-10-05 07:44:00 +02:00
test-fixtures feat(config): switch to kdl (#1759) 2022-10-05 07:44:00 +02:00
channels.rs refactors for #525 (#534) 2021-05-27 16:28:28 +02:00
cli.rs feat(layouts): global cwd (#1798) 2022-10-14 15:08:32 +02:00
consts.rs Log thread_bus IPC messages only in debug mode (#1800) 2022-10-17 15:34:06 +00:00
data.rs feat(config): switch to kdl (#1759) 2022-10-05 07:44:00 +02:00
envs.rs feat(config): switch to kdl (#1759) 2022-10-05 07:44:00 +02:00
errors.rs Log thread_bus IPC messages only in debug mode (#1800) 2022-10-17 15:34:06 +00:00
ipc.rs feat(config): switch to kdl (#1759) 2022-10-05 07:44:00 +02:00
lib.rs feat(config): switch to kdl (#1759) 2022-10-05 07:44:00 +02:00
logging.rs Log thread_bus IPC messages only in debug mode (#1800) 2022-10-17 15:34:06 +00:00
pane_size.rs fix(layouts): various kdl layout issues and features (#1797) 2022-10-13 13:55:16 +02:00
position.rs fix(terminal): SGR/UTF8 mouse reporting in terminal panes (#1664) 2022-08-17 09:28:51 +02:00
setup.rs feat(config): switch to kdl (#1759) 2022-10-05 07:44:00 +02:00
shared.rs feat(ux): rerun command pane (#1787) 2022-10-11 16:45:46 +02:00