Added a log file output to approver script