docs/debugging: also redirect stderr
This commit is contained in:
parent
7a94a488bd
commit
fdf639ed1d
|
@ -13,13 +13,13 @@ further help, do not hesitate to contact us!
|
||||||
== Enabling logging
|
== Enabling logging
|
||||||
|
|
||||||
i3 spits out much information onto stdout. To have a clearly defined place where logfiles
|
i3 spits out much information onto stdout. To have a clearly defined place where logfiles
|
||||||
will be saved, you should redirect stdout in xsession. While you’re at it, putting each
|
will be saved, you should redirect stdout and stderr in xsession. While you’re at it,
|
||||||
run of i3 in a separate logfile with date/time in it is a good idea to not get confused
|
putting each run of i3 in a separate logfile with date/time in it is a good idea to not
|
||||||
about the different logfiles later on.
|
get confused about the different logfiles later on.
|
||||||
|
|
||||||
---------------------------------------------------------------
|
--------------------------------------------------------------------
|
||||||
exec /usr/bin/i3 >/home/michael/i3/i3log-$(date +'%F-%k-%M-%S')
|
exec /usr/bin/i3 >/home/michael/i3/i3log-$(date +'%F-%k-%M-%S') 2>&1
|
||||||
---------------------------------------------------------------
|
--------------------------------------------------------------------
|
||||||
|
|
||||||
== Enabling coredumps
|
== Enabling coredumps
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue