geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r653597 - in /geronimo/server/trunk/framework/modules: ./ geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/ geronimo-logging/src/main/java/org/slf4j/impl/
Date Mon, 05 May 2008 20:57:16 GMT
Author: jdillon
Date: Mon May  5 13:57:16 2008
New Revision: 653597

URL: http://svn.apache.org/viewvc?rev=653597&view=rev
Log:
Add basic logging impls and hook up to build

Added:
    geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/LoggerFactory.java
  (with props)
    geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/MarkerFactory.java
  (with props)
Modified:
    geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java
    geronimo/server/trunk/framework/modules/pom.xml

Added: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/LoggerFactory.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/LoggerFactory.java?rev=653597&view=auto
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/LoggerFactory.java
(added)
+++ geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/LoggerFactory.java
Mon May  5 13:57:16 2008
@@ -0,0 +1,40 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.geronimo.framework.logging;
+
+import org.slf4j.Logger;
+import org.slf4j.ILoggerFactory;
+
+/**
+ * ???
+ *
+ * @version $Revision$ $Date$
+ */
+public class LoggerFactory
+    implements ILoggerFactory
+{
+    public Logger getLogger(final String name) {
+        assert name != null;
+        
+        // TODO:
+        
+        return null;
+    }
+}

Propchange: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/LoggerFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/LoggerFactory.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/LoggerFactory.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/MarkerFactory.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/MarkerFactory.java?rev=653597&view=auto
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/MarkerFactory.java
(added)
+++ geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/MarkerFactory.java
Mon May  5 13:57:16 2008
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.geronimo.framework.logging;
+
+import org.slf4j.helpers.BasicMarkerFactory;
+
+/**
+ * ???
+ *
+ * @version $Revision$ $Date$
+ */
+public class MarkerFactory
+    extends BasicMarkerFactory
+{
+    // TODO:
+}

Propchange: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/MarkerFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/MarkerFactory.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/apache/geronimo/framework/logging/MarkerFactory.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java?rev=653597&r1=653596&r2=653597&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-logging/src/main/java/org/slf4j/impl/StaticMDCBinder.java
Mon May  5 13:57:16 2008
@@ -37,7 +37,7 @@
         return new NOPMakerAdapter();
     }
 
-    public String  getMDCAdapterClassStr() {
+    public String getMDCAdapterClassStr() {
         return NOPMakerAdapter.class.getName();
     }
 }

Modified: geronimo/server/trunk/framework/modules/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/pom.xml?rev=653597&r1=653596&r2=653597&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/pom.xml (original)
+++ geronimo/server/trunk/framework/modules/pom.xml Mon May  5 13:57:16 2008
@@ -46,6 +46,7 @@
     </dependencies>
     
     <modules>
+        <module>geronimo-logging</module>
         <module>geronimo-cli</module>
         <module>geronimo-commands</module>
         <module>geronimo-common</module>



Mime
View raw message