[
http://www.stripesframework.org/jira/browse/STS-414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11094#action_11094
]
David G. Friedman commented on STS-414:
---------------------------------------
I have a problem with the slf4j from svn 756...
I used Log4j in DEBUG mode and got incorrect line numbers like this (note I
changed the default %L log4j format to lower case %l for greater detail):
08:37:33,890 DEBUG
AnnotatedClassActionResolver:net.sourceforge.stripes.util.Log.debug(Log.java:177)
- Bound: DefaultViewActionBean.view() ==> /controller/DefaultView.action?view
08:37:33,908 INFO
DefaultLocalePicker:net.sourceforge.stripes.util.Log.info(Log.java:166) - No
locale list specified, defaulting to single locale: en_US
08:37:33,911 DEBUG
DefaultFormatterFactory:net.sourceforge.stripes.util.Log.debug(Log.java:177) -
Clearing formatter cache
08:37:33,912 DEBUG
DefaultFormatterFactory:net.sourceforge.stripes.util.Log.debug(Log.java:177) -
Clearing formatter cache
08:37:33,913 DEBUG
DefaultFormatterFactory:net.sourceforge.stripes.util.Log.debug(Log.java:177) -
Clearing formatter cache
08:37:33,915 DEBUG
DefaultFormatterFactory:net.sourceforge.stripes.util.Log.debug(Log.java:177) -
Clearing formatter cache
08:37:33,929 DEBUG
DefaultConfiguration:net.sourceforge.stripes.util.Log.debug(Log.java:177) -
Configuring interceptor 'BeforeAfterMethodInterceptor', for lifecycle stages:
[ActionBeanResolution, HandlerResolution, BindingAndValidation,
CustomValidation, EventHandling, ResolutionExecution]
08:37:33,932 DEBUG
DefaultConfiguration:net.sourceforge.stripes.util.Log.debug(Log.java:177) -
Configuring interceptor 'HttpCacheInterceptor', for lifecycle stages:
[ResolutionExecution]
08:37:33,933 INFO
StripesFilter:net.sourceforge.stripes.util.Log.info(Log.java:166) - Stripes
Initialization Complete. Version: 1.5.0, Build: 756
While I'm looking at Stripes code I don't want to know the line number in
Stripes' util.Log.java file is line 177. I want to know what line is reporting
in DefaultFormatterFactory.java. Will the trunk be updated before the 1.5
branch to switch away from using the Stripes util/Log.java class to directly
using slf4j Logger and LoggerFactory? And will the "old" Log.java be
deprecated?
Also, I agree with the above note from from F.D "The user needs
slf4j-log4j12.jar and log4j.jar to use Log4J". This was not in the trunk's
readme.txt so I had to find it out myself tonight having not heard about slf4j
before pulling trunk 756. I was on 710 or earlier before tonight so these were
some significant changes for me.
Regards,
-David
> update to commons logging 1.1.1
> -------------------------------
>
> Key: STS-414
> URL: http://www.stripesframework.org/jira/browse/STS-414
> Project: Stripes
> Issue Type: Improvement
> Reporter: Kai Grabfelder
> Assignee: Kai Grabfelder
> Priority: Minor
> Fix For: Release 1.5
>
>
> once commons logging 1.1.1 is release stripes should be updated to use it (in
> order to resolve packaging issues for maven2 users)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development