[GH-ISSUE #1455] improve debug messages #978

Closed
opened 2026-05-05 07:15:00 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @Boruch-Baum on GitHub (Aug 11, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1455

When I was recently debugging a problem for an ncurses program using --debug, I noticed some error messages flashing briefly in the ncurses screen, but it didn't appear among the other debug output when exiting.

Please consider having the debug option output to a file instead of STDERR / STDOUT since those can easily become unreadable. Part of the idea would be to separate the STDERR output of firejail from any STDERR output of the program being sandboxed.

Originally created by @Boruch-Baum on GitHub (Aug 11, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1455 When I was recently debugging a problem for an ncurses program using `--debug`, I noticed some error messages flashing briefly in the ncurses screen, but it didn't appear among the other debug output when exiting. Please consider having the debug option output to a file instead of STDERR / STDOUT since those can easily become unreadable. Part of the idea would be to separate the STDERR output of firejail from any STDERR output of the program being sandboxed.
gitea-mirror 2026-05-05 07:15:00 -06:00
Author
Owner

@chiraag-nataraj commented on GitHub (Aug 11, 2017):

You can use --output=logfile to send all output to a log file.

<!-- gh-comment-id:321738549 --> @chiraag-nataraj commented on GitHub (Aug 11, 2017): You can use `--output=logfile` to send all output to a log file.
Author
Owner

@Boruch-Baum commented on GitHub (Aug 11, 2017):

I tried that, and it wasn't acting that way. If it should be acting that way, then I have another issue to open. Stay tuned a few minutes . . .

<!-- gh-comment-id:321747620 --> @Boruch-Baum commented on GitHub (Aug 11, 2017): I tried that, and it wasn't acting that way. If it should be acting that way, then I have another issue to open. Stay tuned a few minutes . . .
Author
Owner

@netblue30 commented on GitHub (Aug 13, 2017):

I think the fix is in, if necessary we'll reopen the issue.

We have now --output and --output-stderr. The last one also redirects stderr to the file. Ncurses programs should work fine now with --output. Thanks.

<!-- gh-comment-id:322043779 --> @netblue30 commented on GitHub (Aug 13, 2017): I think the fix is in, if necessary we'll reopen the issue. We have now --output and --output-stderr. The last one also redirects stderr to the file. Ncurses programs should work fine now with --output. Thanks.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#978
No description provided.