Fixed missing $log dependency