fixed redirection of logs on Debian