Fixing log dependency