Fix logging with tmux (bug 2482)