Fixed logging of patch applications