Add timestamp and argument list to log files