This should make configuration (by Spring profile) much easier as it can be done with only 1 profile with something like (not real code)
<profile name="JDBC_LOG">
<aspect class="jdbcDsLogAspect" pointcut = "bean('datasource')" />
</profile>
Have some basic study to see if it is possible