summaryrefslogtreecommitdiffstats
path: root/doc/rofi-debugging.5
diff options
context:
space:
mode:
Diffstat (limited to 'doc/rofi-debugging.5')
-rw-r--r--doc/rofi-debugging.516
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/rofi-debugging.5 b/doc/rofi-debugging.5
index 747d1fd0..dc0eb01b 100644
--- a/doc/rofi-debugging.5
+++ b/doc/rofi-debugging.5
@@ -175,6 +175,22 @@ For full list see \fB\fCman rofi\fR\&.
.PP
Example: \fB\fCG_MESSAGES_DEBUG=Dialogs.DRun rofi -show drun\fR To get specific output from the Desktop file run dialog.
+.PP
+To redirect the debug output to a file (\fB\fC~/rofi.log\fR) add:
+
+.PP
+.RS
+
+.nf
+rofi -show drun -log ~/rofi.log
+
+.fi
+.RE
+
+.PP
+Specifying the logfile automatically enabled all log domains.
+This can be useful when rofi is launched from a window manager.
+
.SH Creating a backtrace.
.PP
First make sure you compile \fBrofi\fP with debug symbols: