From fdf639ed1df627b8ac8f1fd5fa287f1f559d1704 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 28 Apr 2009 22:25:51 +0200 Subject: [PATCH] docs/debugging: also redirect stderr --- docs/debugging | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/debugging b/docs/debugging index 5dfd95eb..d33f6467 100644 --- a/docs/debugging +++ b/docs/debugging @@ -13,13 +13,13 @@ further help, do not hesitate to contact us! == Enabling logging 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 -run of i3 in a separate logfile with date/time in it is a good idea to not get confused -about the different logfiles later on. +will be saved, you should redirect stdout and stderr in xsession. While you’re at it, +putting each run of i3 in a separate logfile with date/time in it is a good idea to not +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 -- 2.39.5