docs/debugging: also redirect stderr

This commit is contained in:
Michael Stapelberg 2009-04-28 22:25:51 +02:00
parent 7a94a488bd
commit fdf639ed1d
1 changed files with 6 additions and 6 deletions

View File

@ -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 youre at it, putting each will be saved, you should redirect stdout and stderr in xsession. While youre 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