adding log entry on upload