various logger patches