Hello,

I am using a HibernateInterceptor for my audit logging solution using spring framework.I have configured the interceptor on my AnnotationSessionFactoryBean.

I am trying to find a solution to switch on/off the audit logging for my application in case of a performance issue.This should be achieved through my application GUI i.e Spring MVC.

Can anyone suggest how this could be achieved?

Regards,
MA