Output redirection to log file added