Open GoogleCodeExporter opened 9 years ago
Could you turn up logging for com.googlecode.ehcache.annotations to debug? Note
that the library uses SLF4j so you'll need to make sure you have the
appropriate SLF4j binding included for your logging system:
http://www.slf4j.org/manual.html#binding
I'd be interested in output from that package during app context startup and
any output during annotated method invocation.
Original comment by eric.dalquist
on 15 Oct 2011 at 1:47
I am not being able to get any logs from that package.... it should be logging:
log4j.xml:
<appender name="eprsLog" class="org.apache.log4j.FileAppender">
<param name="File" value="${EPRS_HOME}/log/eprs.log" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="<%d{MMM dd HH:mm:ss.SSS}> <%p> <%C:%L> - %m%n" />
</layout>
</appender>
<category name="net.sf.ehcache" additivity="false">
<priority value="DEBUG" />
<appender-ref ref="eprsLog" />
</category>
<category name="com.googlecode.ehcache" additivity="false">
<priority value="DEBUG" />
<appender-ref ref="eprsLog" />
</category>
<category name="com.googlecode.ehcache.annotations" additivity="false">
<priority value="DEBUG" />
<appender-ref ref="eprsLog" />
</category>
This is part of my pom.xml
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Logging -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${org.slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${org.slf4j.version}</version>
<!--<scope>runtime</scope>-->
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${org.slf4j.version}</version>
<!--<scope>runtime</scope>-->
</dependency>
Is there anything else I can provide?
Original comment by FacundoD...@gmail.com
on 17 Oct 2011 at 2:47
I'm at a bit of a loss, can you share the root element with the schema
definitions from your spring app context file?
Original comment by eric.dalquist
on 18 Oct 2011 at 9:37
I apologize for the delay. I had to deliver a solution and so I ended up using
xml files and using aop :(
My spring app context context file had all the definitions as many blogs
stated. It looks the interceptor was not being utilized...
Thanks!
Original comment by FacundoD...@gmail.com
on 31 Oct 2011 at 9:00
[deleted comment]
I am facing just the same problem, any one can help about the solution, please!
Original comment by wanxiang.xing@gmail.com
on 15 Jul 2012 at 4:32
Original issue reported on code.google.com by
FacundoD...@gmail.com
on 14 Oct 2011 at 9:49