From: Michael Stapelberg Date: Wed, 4 Feb 2015 18:54:53 +0000 (+0100) Subject: docs/debugging: use logs.i3wm.org X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=89ad8183dd7e8532e5f9067d4d71b66a49142ceb;p=i3%2Fi3.github.io docs/debugging: use logs.i3wm.org --- 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.