User: starksm
Date: 02/04/04 11:14:19
Added: jetty/src/main/org/jboss/jetty/log Tag: Branch_2_4
JBossLogSink.java
Log:
Backport of 3.0 service to 2.4
Revision Changes Path
No revision
No revision
1.2.2.1 +15 -15 contrib/jetty/src/main/org/jboss/jetty/log/JBossLogSink.java
Index: JBossLogSink.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/jetty/src/main/org/jboss/jetty/log/JBossLogSink.java,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- JBossLogSink.java 22 Feb 2002 05:15:40 -0000 1.2
+++ JBossLogSink.java 4 Apr 2002 19:14:19 -0000 1.2.2.1
@@ -5,7 +5,7 @@
* See terms of license at gnu.org.
*/
-// $Id: JBossLogSink.java,v 1.2 2002/02/22 05:15:40 janb Exp $
+// $Id: JBossLogSink.java,v 1.2.2.1 2002/04/04 19:14:19 starksm Exp $
package org.jboss.jetty.log;
@@ -26,7 +26,7 @@
* This class bidges the API between Jetty and Log4J.
*
* @author <a href="mailto:">Jules Gosnell</a>
- * @version $Id: JBossLogSink.java,v 1.2 2002/02/22 05:15:40 janb Exp $
+ * @version $Id: JBossLogSink.java,v 1.2.2.1 2002/04/04 19:14:19 starksm Exp $
* @since 1.0
* @see org.mortbay.util.LogSink
*/
@@ -116,13 +116,13 @@
public void
setOptions(String dateFormat,
- String timezone,
- boolean logTimeStamps,
- boolean logLabels,
- boolean logTags,
- boolean logStackSize,
- boolean logStackTrace,
- boolean logOneLine)
+ String timezone,
+ boolean logTimeStamps,
+ boolean logLabels,
+ boolean logTags,
+ boolean logStackSize,
+ boolean logStackTrace,
+ boolean logOneLine)
{
// is it possible to translate these into JBoss logging options...?
}
@@ -131,11 +131,11 @@
setOptions(String logOptions)
{
// setOptions((logOptions.indexOf(OPT_TIMESTAMP) >= 0),
- // (logOptions.indexOf(OPT_LABEL) >= 0),
- // (logOptions.indexOf(OPT_TAG) >= 0),
- // (logOptions.indexOf(OPT_STACKSIZE) >= 0),
- // (logOptions.indexOf(OPT_STACKTRACE) >= 0),
- // (logOptions.indexOf(OPT_ONELINE) >= 0));
+ // (logOptions.indexOf(OPT_LABEL) >= 0),
+ // (logOptions.indexOf(OPT_TAG) >= 0),
+ // (logOptions.indexOf(OPT_STACKSIZE) >= 0),
+ // (logOptions.indexOf(OPT_STACKTRACE) >= 0),
+ // (logOptions.indexOf(OPT_ONELINE) >= 0));
}
public String
@@ -190,4 +190,4 @@
{
_log.info(formattedLog);
}
-};
+}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development