Added more log messages to the capes handler (because of strange behaviour caused by cofh core).