allow user to specify the path of log file to upload #4148
Merge pull request #4172 from qunox/givelogpath

allow user to specify the path of log file to upload #4148
Fix checkwrite for csh.
Merge pull request #4175 from AndresTanasijczuk/checkwrite_csh

Fix checkwrite for csh.