Fixing log upload