diff --git a/lib/migrate.php b/lib/migrate.php
index 5ff8e338a442b887517858f709ca77a402ccabf9..8fabbbca927735c7b726158c4e7b528d78664259 100644
--- a/lib/migrate.php
+++ b/lib/migrate.php
@@ -655,7 +655,7 @@ class OC_Migrate{
 		$query = OC_DB::prepare( "INSERT INTO `*PREFIX*users` ( `uid`, `password` ) VALUES( ?, ? )" );
 		$result = $query->execute( array( $uid, $hash));
 		if( !$result ) {
-			OC_Log::write('migration', 'Failed to create the new user "'.$uid."");
+			OC_Log::write('migration', 'Failed to create the new user "'.$uid."", OC_Log::ERROR);
 		}
 		return $result ? true : false;