Redirect stderr into log files