Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Package names ch.qos.logback.ext.* converted to ch.qos.logback.contrib.*
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Trutz <christian.trutz@belaso.de>
  • Loading branch information
Christian Trutz committed Dec 15, 2012
1 parent 9a2df95 commit 47250b9
Show file tree
Hide file tree
Showing 16 changed files with 24 additions and 20 deletions.
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package ch.qos.logback.ext.eclipse;
package ch.qos.logback.contrib.eclipse;

import org.eclipse.core.runtime.ILog;
import org.eclipse.core.runtime.Platform;
Expand All @@ -33,7 +33,7 @@
* Sample logback configuration:
* <pre>
* &lt;configuration>
* &lt;appender name="eclipse" class="ch.qos.logback.ext.EclipseLogAppender">
* &lt;appender name="eclipse" class="ch.qos.logback.contrib.EclipseLogAppender">
* &lt;encoder>
* &lt;pattern>[%method] > %msg%n&lt;/pattern>
* &lt;/encoder>
Expand All @@ -53,7 +53,7 @@
public class EclipseLogAppender extends AppenderBase<ILoggingEvent> {

// make sure this variable matches the name value of Bundle-SymbolicName in MANIFEST.MF
public static final String DEFAULT_BUNDLE_SYMBOLIC_NAME = "ch.qos.logback.ext.eclipse";
public static final String DEFAULT_BUNDLE_SYMBOLIC_NAME = "ch.qos.logback.contrib.eclipse";

private static final IPlatform _platform = new IPlatform() {
@Override
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.eclipse;
package ch.qos.logback.contrib.eclipse;

import org.osgi.framework.Bundle;
import org.eclipse.core.runtime.ILog;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.eclipse;
package ch.qos.logback.contrib.eclipse;

import java.io.File;
import java.io.IOException;
Expand All @@ -26,6 +26,8 @@
import java.util.Map;

import ch.qos.logback.classic.encoder.PatternLayoutEncoder;
import ch.qos.logback.contrib.eclipse.EclipseLogAppender;
import ch.qos.logback.contrib.eclipse.IPlatform;

import static org.junit.Assert.*;

Expand Down
2 changes: 1 addition & 1 deletion jackson/pom.xml
Expand Up @@ -23,7 +23,7 @@

<modelVersion>4.0.0</modelVersion>
<artifactId>logback-jackson</artifactId>
<name>Logback Extensions :: Jackson</name>
<name>Logback Contrib :: Jackson</name>
<packaging>jar</packaging>

<dependencies>
Expand Down
Expand Up @@ -13,9 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.jackson;
package ch.qos.logback.contrib.jackson;

import ch.qos.logback.ext.json.JsonFormatter;
import ch.qos.logback.contrib.json.JsonFormatter;
import org.codehaus.jackson.JsonGenerator;
import org.codehaus.jackson.map.ObjectMapper;

Expand Down
Expand Up @@ -14,13 +14,13 @@
* limitations under the License.
*/

package ch.qos.logback.ext.json.classic;
package ch.qos.logback.contrib.json.classic;

import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.pattern.ThrowableProxyConverter;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.classic.spi.IThrowableProxy;
import ch.qos.logback.ext.json.JsonLayoutBase;
import ch.qos.logback.contrib.json.JsonLayoutBase;

import java.util.LinkedHashMap;
import java.util.Map;
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.json;
package ch.qos.logback.contrib.json;

import java.util.Map;

Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.json;
package ch.qos.logback.contrib.json;

import ch.qos.logback.core.LayoutBase;

Expand Down
2 changes: 1 addition & 1 deletion mongodb/access/pom.xml
Expand Up @@ -23,7 +23,7 @@

<modelVersion>4.0.0</modelVersion>
<artifactId>logback-mongodb-access</artifactId>
<name>Logback Extensions :: MongoDB :: Access</name>
<name>Logback Contrib :: MongoDB :: Access</name>
<packaging>jar</packaging>

<dependencies>
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.mongodb;
package ch.qos.logback.contrib.mongodb;

import java.util.Date;

Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.mongodb;
package ch.qos.logback.contrib.mongodb;

import static org.junit.Assert.assertEquals;

Expand All @@ -28,6 +28,7 @@
import org.junit.runner.RunWith;

import ch.qos.logback.access.spi.IAccessEvent;
import ch.qos.logback.contrib.mongodb.MongoDBAccessEventAppender;

import com.mongodb.BasicDBObject;

Expand Down
2 changes: 1 addition & 1 deletion mongodb/classic/pom.xml
Expand Up @@ -23,7 +23,7 @@

<modelVersion>4.0.0</modelVersion>
<artifactId>logback-mongodb-classic</artifactId>
<name>Logback Extensions :: MongoDB :: Classic</name>
<name>Logback Contrib :: MongoDB :: Classic</name>
<packaging>jar</packaging>

<dependencies>
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.mongodb;
package ch.qos.logback.contrib.mongodb;

import java.util.Date;

Expand Down
2 changes: 1 addition & 1 deletion mongodb/core/pom.xml
Expand Up @@ -24,7 +24,7 @@
</parent>

<artifactId>logback-mongodb-core</artifactId>
<name>Logback Extensions :: MongoDB :: Core</name>
<name>Logback Contrib :: MongoDB :: Core</name>
<packaging>jar</packaging>

<dependencies>
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.mongodb;
package ch.qos.logback.contrib.mongodb;

import ch.qos.logback.core.UnsynchronizedAppenderBase;

Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package ch.qos.logback.ext.mongodb;
package ch.qos.logback.contrib.mongodb;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
Expand All @@ -26,6 +26,7 @@
import org.junit.Test;
import org.junit.runner.RunWith;

import ch.qos.logback.contrib.mongodb.MongoDBAppenderBase;
import ch.qos.logback.core.ContextBase;
import ch.qos.logback.core.spi.DeferredProcessingAware;

Expand Down

0 comments on commit 47250b9

Please sign in to comment.