From 89ad8183dd7e8532e5f9067d4d71b66a49142ceb Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 4 Feb 2015 19:54:53 +0100 Subject: [PATCH] docs/debugging: use logs.i3wm.org --- _docs/debugging | 12 +++++++----- docs/debugging.html | 11 ++++++----- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/_docs/debugging b/_docs/debugging index 9dec305..1253b0c 100644 --- a/_docs/debugging +++ b/_docs/debugging @@ -72,15 +72,17 @@ i3-msg 'debuglog on; shmlog on; reload' No matter whether i3 misbehaved in some way without crashing or whether it just crashed, the logfile provides all information necessary to debug the problem. -To save a compressed version of the logfile (suitable for attaching it to a -bugreport), use: --------------------------------------------------------------------- -DISPLAY=:0 i3-dump-log | bzip2 -c > /tmp/i3.log.bz2 --------------------------------------------------------------------- +To upload a compressed version of the logfile (for a bugreport), use: +------------------------------------------------------------------------------ +DISPLAY=:0 i3-dump-log | bzip2 -c | curl --data-binary @- http://logs.i3wm.org +------------------------------------------------------------------------------ This command does not depend on i3 (it also works while i3 displays the crash dialog), but it requires a working X11 connection. +After running it, you will get a URL to the logfile. Please include that URL in +your bug report. + == On crashes: Obtaining a backtrace When i3 crashes, it will display a dialog stating “i3 just crashed”, offering diff --git a/docs/debugging.html b/docs/debugging.html index 934a131..d9e7b43 100644 --- a/docs/debugging.html +++ b/docs/debugging.html @@ -2,9 +2,9 @@ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> - + - + i3: Debugging i3: How To @@ -115,14 +115,15 @@ fly:

No matter whether i3 misbehaved in some way without crashing or whether it just crashed, the logfile provides all information necessary to debug the problem.

-

To save a compressed version of the logfile (suitable for attaching it to a -bugreport), use:

+

To upload a compressed version of the logfile (for a bugreport), use:

-
DISPLAY=:0 i3-dump-log | bzip2 -c > /tmp/i3.log.bz2
+
DISPLAY=:0 i3-dump-log | bzip2 -c | curl --data-binary @- http://logs.i3wm.org

This command does not depend on i3 (it also works while i3 displays the crash dialog), but it requires a working X11 connection.

+

After running it, you will get a URL to the logfile. Please include that URL in +your bug report.

-- 2.39.5