You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2003/04/17 11:10:59 UTC
cvs commit: avalon-logkit/src/compat/org/apache/log/format AvalonFormatter.java ExceptionUtil.java
donaldp 2003/04/17 02:10:59
Modified: src/compat/org/apache/log/format AvalonFormatter.java
ExceptionUtil.java
Log:
Decruft
Revision Changes Path
1.9 +2 -6 avalon-logkit/src/compat/org/apache/log/format/AvalonFormatter.java
Index: AvalonFormatter.java
===================================================================
RCS file: /home/cvs/avalon-logkit/src/compat/org/apache/log/format/AvalonFormatter.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- AvalonFormatter.java 9 Feb 2003 23:33:21 -0000 1.8
+++ AvalonFormatter.java 17 Apr 2003 09:10:59 -0000 1.9
@@ -55,9 +55,6 @@
package org.apache.log.format;
import org.apache.log.LogEvent;
-import org.apache.log.format.ExtendedPatternFormatter;
-import org.apache.log.format.PatternFormatter;
-import org.apache.log.util.StackIntrospector;
/**
* This formatter extends ExtendedPatternFormatter so that
@@ -81,7 +78,6 @@
private static final int TYPE_CLASS = MAX_TYPE + 1;
private static final String TYPE_CLASS_STR = "class";
- private static final String TYPE_CLASS_SHORT_STR = "short";
/**
* The constant defining the default stack depth when
@@ -168,7 +164,7 @@
switch( run.m_type )
{
case TYPE_CLASS:
- return getClass( run.m_format );
+ return getClassname();
default:
return super.formatPatternRun( event, run );
}
@@ -177,7 +173,7 @@
/**
* Finds the class that has called Logger.
*/
- private String getClass( String format )
+ private String getClassname()
{
return "Unknown-class";
}
1.5 +0 -2 avalon-logkit/src/compat/org/apache/log/format/ExceptionUtil.java
Index: ExceptionUtil.java
===================================================================
RCS file: /home/cvs/avalon-logkit/src/compat/org/apache/log/format/ExceptionUtil.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ExceptionUtil.java 9 Feb 2003 23:33:21 -0000 1.4
+++ ExceptionUtil.java 17 Apr 2003 09:10:59 -0000 1.5
@@ -64,8 +64,6 @@
*
* Some exception handling stuff thieved from Turbine...
*
- * @deprecated use org.apache.avalon.framework.ExceptionUtil instead
- *
* @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
* @version 1.0
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org
Re: cvs commit: avalon-logkit/src/compat/org/apache/log/format AvalonFormatter.java ExceptionUtil.java
Posted by Peter Royal <pr...@apache.org>.
On Thursday, April 17, 2003, at 08:31 AM, Berin Loritsch wrote:
> This IS deprecated. The correct version IS in Avalon Framework.
Since the Avalon Logger -> LogKit adaptor is going into LogKit, I think
Pete is attempting to minimize the coupling between LogKit and Avalon
to the absolute minimum.
-pete
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
Re: cvs commit: avalon-logkit/src/compat/org/apache/log/format AvalonFormatter.java
ExceptionUtil.java
Posted by Berin Loritsch <bl...@apache.org>.
donaldp@apache.org wrote:
> donaldp 2003/04/17 02:10:59
>
> 1.5 +0 -2 avalon-logkit/src/compat/org/apache/log/format/ExceptionUtil.java
>
> Index: ExceptionUtil.java
> ===================================================================
> RCS file: /home/cvs/avalon-logkit/src/compat/org/apache/log/format/ExceptionUtil.java,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -u -r1.4 -r1.5
> --- ExceptionUtil.java 9 Feb 2003 23:33:21 -0000 1.4
> +++ ExceptionUtil.java 17 Apr 2003 09:10:59 -0000 1.5
> @@ -64,8 +64,6 @@
> *
> * Some exception handling stuff thieved from Turbine...
> *
> - * @deprecated use org.apache.avalon.framework.ExceptionUtil instead
> - *
> * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
> * @version 1.0
> */
This IS deprecated. The correct version IS in Avalon Framework.
--
"You know the world is going crazy when the best
rapper is a white guy, the best golfer is a black guy,
The Swiss hold the America's Cup, France is
accusing the US of arrogance, and Germany doesn't want
to go to war. And the 3 most powerful men in America
are named 'Bush', 'Dick', and 'Colon' (sic)".
-----Chris Rock
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org