Replace fmt with log in Fatalf() call