The daemon writes colour escape codes into moho.log #242

Closed
opened 2026-10-01 23:59:58 -04:00 by Salastil · 1 comment
Owner

nobilis's tracing subscriber is fmt() with its defaults, so its lines reach moho.log - through Electron, which is not a terminal - as \x1b[2m...\x1b[0m soup. The log is what a bug report attaches.

.with_ansi(std::io::stderr().is_terminal()) in main.rs, or off whenever the daemon was started by the app.

nobilis's tracing subscriber is `fmt()` with its defaults, so its lines reach moho.log - through Electron, which is not a terminal - as `\x1b[2m...\x1b[0m` soup. The log is what a bug report attaches. `.with_ansi(std::io::stderr().is_terminal())` in main.rs, or off whenever the daemon was started by the app.
Salastil added this to the v1.0 milestone 2026-10-01 23:59:58 -04:00
Salastil added the buglow priority labels 2026-10-01 23:59:58 -04:00
Author
Owner

Finished
88893d3738

Finished https://git.salastil.com/Salastil/nobilis/commit/88893d37389790d3f4026098423cd6839af4e343
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#242