noreply.ceki | 9 Aug 18:52 2007
Picon

svn commit: r1559 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util

Author: ceki
Date: Thu Aug  9 18:52:20 2007
New Revision: 1559

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java

Log:
This is the logback project

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java	Thu Aug  9
18:52:20 2007
 <at>  <at>  -25,7 +25,7  <at>  <at> 

   static {

-    String ignoreTCLProp = OptionHelper.getSystemProperty("log4j.ignoreTCL",
+    String ignoreTCLProp = OptionHelper.getSystemProperty("logback.ignoreTCL",
         null);

     if (ignoreTCLProp != null) {
noreply.ceki | 9 Aug 18:53 2007
Picon

svn commit: r1560 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util

Author: ceki
Date: Thu Aug  9 18:53:36 2007
New Revision: 1560

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java

Log:
contants are better than strings

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java	Thu Aug  9
18:53:36 2007
 <at>  <at>  -22,10 +22,11  <at>  <at> 
   static final String TSTR = "Caught Exception while in Loader.getResource. This may be innocuous.";

   private static boolean ignoreTCL = false;
-
+  public static final String IGNORE_TCL_PROPERTY_NAME = "logback.ignoreTCL";
+  
   static {

-    String ignoreTCLProp = OptionHelper.getSystemProperty("logback.ignoreTCL",
+    String ignoreTCLProp = OptionHelper.getSystemProperty(IGNORE_TCL_PROPERTY_NAME,
         null);

     if (ignoreTCLProp != null) {
(Continue reading)

bugzilla | 9 Aug 19:05 2007
Picon

[Bug 89] New: <include> does not search classpath

http://bugzilla.qos.ch/show_bug.cgi?id=89

           Summary: <include> does not search classpath
           Product: logback-classic
           Version: unspecified
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Other
        AssignedTo: logback-dev@...
        ReportedBy: michael.newcomb@...

Logback searches the classpath for logback.xml or logback-test.xml, but when
using <include> there is no way to specify a resource to include (ie something
in a jar file) that is on the classpath.

<include> is limited to file (explicit file location) or a url (which doesn't
allow just a file name).

Please add another mechanism for <include> to search the classpath for the file
to be included:
<include resource="xxx.xml"/>

--

-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
(Continue reading)

bugzilla | 9 Aug 19:07 2007
Picon

[Bug 89] <include> does not search classpath

http://bugzilla.qos.ch/show_bug.cgi?id=89

------- Comment #1 from michael.newcomb@...  2007-08-09 19:07 -------
Created an attachment (id=7)
 --> (http://bugzilla.qos.ch/attachment.cgi?id=7&action=view)
patch

Implements suggested fix: adds 'resource' as an attribute to <include>. Logback
will search the classpath for the specified resource.

--

-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
noreply.ceki | 9 Aug 19:46 2007
Picon

svn commit: r1561 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util

Author: ceki
Date: Thu Aug  9 19:46:29 2007
New Revision: 1561

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java

Log:
minor

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/util/Loader.java	Thu Aug  9
19:46:29 2007
 <at>  <at>  -81,6 +81,7  <at>  <at> 
     return Thread.currentThread().getContextClassLoader();
   }

+   <at> SuppressWarnings("unchecked") 
   public static Class loadClass(String clazz, Context context) throws ClassNotFoundException {
     ClassLoader cl = context.getClass().getClassLoader();
     return cl.loadClass(clazz);
 <at>  <at>  -91,6 +92,7  <at>  <at> 
    * Class.forname. Under JDK 1.1 only Class.forName is used.
    * 
    */
+   <at> SuppressWarnings("unchecked")
   public static Class loadClass(String clazz) throws ClassNotFoundException {
     // Just call Class.forName(clazz) if we are running under JDK 1.1
(Continue reading)

John Noreplai | 12 Aug 16:31 2007
Picon

[continuum] BUILD SUCCESSFUL: Logback Classic Module

Online report : http://localhost:8090/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/46/buildId/4030
Build statistics:
  State: Ok
  Previous State: Failed
  Started at: Sun, 12 Aug 2007 16:30:43 +0200
  Finished at: Sun, 12 Aug 2007 16:31:06 +0200
  Total time: 23s
  Build Trigger: Forced
  Exit code: 0
  Building machine hostname: pixie
  Operating system : Linux(unknown)
  Java version : 1.5.0_08(Sun Microsystems Inc.)

Changes
      No files changed

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Logback Classic Module
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/46/target
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/46/target/classes
[INFO] Deleting directory /opt/continuum-1.0.3/apps/continuum/working-directory/46/target/test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
(Continue reading)

noreply.ceki | 16 Aug 14:16 2007
Picon

svn commit: r1562 - logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/db/dialect

Author: ceki
Date: Thu Aug 16 14:16:18 2007
New Revision: 1562

Modified:
   logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/db/dialect/oracle9i.sql

Log:
minor changes to oracle.sql

Modified: logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/db/dialect/oracle9i.sql
==============================================================================
--- logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/db/dialect/oracle9i.sql	(original)
+++
logback/trunk/logback-classic/src/main/java/ch/qos/logback/classic/db/dialect/oracle9i.sql	Thu
Aug 16 14:16:18 2007
 <at>  <at>  -1,6 +1,6  <at>  <at> 
 -- This SQL script creates the required tables by ch.qos.logback.classic.db.DBAppender
 --
--- It is intended for Oracle 9idatabases.
+-- It is intended for Oracle 9i databases. Tested on version 9.2

 -- The following lines are useful in cleaning any previous tables 

 <at>  <at>  -36,8 +36,8  <at>  <at> 
     SELECT logging_event_id_seq.NEXTVAL 
     INTO   :NEW.event_id 
     FROM   DUAL;  
-  END logging_event_id_seq_trig;
-
(Continue reading)

bugzilla | 18 Aug 21:57 2007
Picon

[Bug 90] New: inconsistency about logback.xml/logback-test.xml search order in documentation

http://bugzilla.qos.ch/show_bug.cgi?id=90

           Summary: inconsistency about logback.xml/logback-test.xml search
                    order in documentation
           Product: logback-site
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: Documentation
        AssignedTo: logback-dev@...
        ReportedBy: Luc.Maisonobe@...

The online user manual is inconsistent in the search order of files logback.xml
and logback-test.xml.
In chapter 2, it reads:
 Logback first tries to find a file called logback.xml within the classpath.
 If no such file is found, it checks for another file called logback-test.xml.
In chapter 3, it reads:

 1. Logback tries to find a file called logback-test.xml in the classpath.
 2. If no such file is found, it checks for the file logback.xml.

--

-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
(Continue reading)

noreply.ceki | 21 Aug 13:10 2007
Picon

svn commit: r1563 - logback/trunk/logback-classic/src/main/java/org/slf4j/impl

Author: ceki
Date: Tue Aug 21 13:10:46 2007
New Revision: 1563

Modified:
   logback/trunk/logback-classic/src/main/java/org/slf4j/impl/LogbackMDCAdapter.java

Log:
comments to reflecting clarifications in SLF4J's MDC class

Modified: logback/trunk/logback-classic/src/main/java/org/slf4j/impl/LogbackMDCAdapter.java
==============================================================================
--- logback/trunk/logback-classic/src/main/java/org/slf4j/impl/LogbackMDCAdapter.java	(original)
+++ logback/trunk/logback-classic/src/main/java/org/slf4j/impl/LogbackMDCAdapter.java	Tue
Aug 21 13:10:46 2007
 <at>  <at>  -22,7 +22,7  <at>  <at> 
  * 
  *  <at> author Ceki G&uuml;lc&uuml;
  */
-public class LogbackMDCAdapter implements MDCAdapter{
+public class LogbackMDCAdapter implements MDCAdapter  {

   private final ThreadLocal<HashMap<String, String>> threadLocal = new ThreadLocal<HashMap<String, String>>();

 <at>  <at>  -31,7 +31,8  <at>  <at> 

   /**
    * Put a context value (the <code>val</code> parameter) as identified with
-   * the <code>key</code> parameter into the current thread's context map.
+   * the <code>key</code> parameter into the current thread's context map. Note 
(Continue reading)

bugzilla | 21 Aug 17:38 2007
Picon

[Bug 90] inconsistency about logback.xml/logback-test.xml search order in documentation

http://bugzilla.qos.ch/show_bug.cgi?id=90

noreply.ceki@... changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Comment #1 from noreply.ceki@...  2007-08-21 17:38 -------
Luc, thank you for reporting this error. 

Actually, the section on automatic configuration in chapter 2 is an outdated
duplicate of the same section in chapter 3. I've removed the outdated duplicate
in chapter 2 and updated the corresponding section in chapter 3.

--

-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Gmane