diff --git a/goVersion.sh b/goVersion.sh index 2979ae91..9c670685 100644 --- a/goVersion.sh +++ b/goVersion.sh @@ -3,4 +3,5 @@ VER=$1 echo "Will use version $VER" find . -name "pom.xml" |grep -v archetype-resources|xargs perl version.pl $VER -perl version.pl $VER ./slf4j-site/src/site/site.xml \ No newline at end of file + +#perl version.pl $VER ./slf4j-site/src/site/site.xml \ No newline at end of file diff --git a/jcl104-over-slf4j/pom.xml b/jcl104-over-slf4j/pom.xml index 4ce12583..8948fb19 100644 --- a/jcl104-over-slf4j/pom.xml +++ b/jcl104-over-slf4j/pom.xml @@ -3,7 +3,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/log4j-over-slf4j/pom.xml b/log4j-over-slf4j/pom.xml index 36ffe214..adebebc2 100644 --- a/log4j-over-slf4j/pom.xml +++ b/log4j-over-slf4j/pom.xml @@ -5,7 +5,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/osgi-over-slf4j/pom.xml b/osgi-over-slf4j/pom.xml index 573b2380..045f60bf 100644 --- a/osgi-over-slf4j/pom.xml +++ b/osgi-over-slf4j/pom.xml @@ -3,7 +3,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/pom.xml b/pom.xml index f0e27dd5..1ee74fc3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 pom SLF4J diff --git a/slf4j-api/pom.xml b/slf4j-api/pom.xml index 985ee2ca..cfaebd3a 100644 --- a/slf4j-api/pom.xml +++ b/slf4j-api/pom.xml @@ -5,7 +5,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-converter/pom.xml b/slf4j-converter/pom.xml index 62f66fae..37da835a 100644 --- a/slf4j-converter/pom.xml +++ b/slf4j-converter/pom.xml @@ -7,7 +7,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-jcl/pom.xml b/slf4j-jcl/pom.xml index 8ce9c7fd..fac0ed34 100644 --- a/slf4j-jcl/pom.xml +++ b/slf4j-jcl/pom.xml @@ -3,7 +3,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-jdk14/pom.xml b/slf4j-jdk14/pom.xml index 721261be..b26796e7 100644 --- a/slf4j-jdk14/pom.xml +++ b/slf4j-jdk14/pom.xml @@ -6,7 +6,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-log4j12/pom.xml b/slf4j-log4j12/pom.xml index 89eb80dd..9dd212d7 100644 --- a/slf4j-log4j12/pom.xml +++ b/slf4j-log4j12/pom.xml @@ -6,7 +6,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-nop/pom.xml b/slf4j-nop/pom.xml index e5cff28a..770c1588 100644 --- a/slf4j-nop/pom.xml +++ b/slf4j-nop/pom.xml @@ -6,7 +6,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-osgi-integration-test/pom.xml b/slf4j-osgi-integration-test/pom.xml index e7759843..661cf9a3 100644 --- a/slf4j-osgi-integration-test/pom.xml +++ b/slf4j-osgi-integration-test/pom.xml @@ -6,7 +6,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-osgi-test-bundle/pom.xml b/slf4j-osgi-test-bundle/pom.xml index fd798182..2c933b5d 100644 --- a/slf4j-osgi-test-bundle/pom.xml +++ b/slf4j-osgi-test-bundle/pom.xml @@ -6,7 +6,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-simple/pom.xml b/slf4j-simple/pom.xml index 63f293c6..cd33ced3 100644 --- a/slf4j-simple/pom.xml +++ b/slf4j-simple/pom.xml @@ -3,7 +3,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-site/pom.xml b/slf4j-site/pom.xml index 4b4a507d..5368e384 100644 --- a/slf4j-site/pom.xml +++ b/slf4j-site/pom.xml @@ -5,7 +5,7 @@ org.slf4j slf4j-parent - 1.4.3-SNAPSHOT + 1.4.3 4.0.0 diff --git a/slf4j-site/src/site/pages/faq.html b/slf4j-site/src/site/pages/faq.html index c474a7c0..5f1ff430 100644 --- a/slf4j-site/src/site/pages/faq.html +++ b/slf4j-site/src/site/pages/faq.html @@ -823,15 +823,7 @@ logger.debug("The new entry is {}.", entry);

it a little (as explained below) does the trick.

-

If you are a Maven2 user, you can use the - slf4j-archetype. Invoke the following command to create a new - module called slf4j-MY with much of the plumbing - alredy in place.

- -

mvn archetype:create -DgroupId=org.slf4j -DartifactId=slf4j-MY \ - -DarchetypeGroupId=org.slf4j -DarchetypeArtifactId=slf4j-archetype -DarchetypeVersion=${project.version}

- -

At this stage, assuming your logging system has notion of a +

Assuming your logging system has notion of a logger, called say MyLogger, you need to provide an adapter for MyLogger to org.slf4j.Logger interface. Refer to slf4j-jcl, @@ -856,14 +848,15 @@ logger.debug("The new entry is {}.", entry);

loggerFactoryClassStr variable.

-

That's it. You don't need to modify any other files.

+

For Marker or MDC support, you could use the one of the + existing NOP implementations. +

In summary, to create an SLF4J binding for your logging system, follow these steps:

    -
  1. start with a copy of an existing module, or create a new - binding using slf4j-archetype as discussed above
  2. +
  3. start with a copy of an existing module,
  4. create an adapter between your logging system and org.slf4j.Logger interface
  5. diff --git a/slf4j-site/src/site/pages/news.html b/slf4j-site/src/site/pages/news.html index a9f37995..3b513f88 100644 --- a/slf4j-site/src/site/pages/news.html +++ b/slf4j-site/src/site/pages/news.html @@ -37,8 +37,14 @@ prefix=''; the correct SLF4J version.

    - +

    Clarified the behavior of the various methods methods in the MDC + class with respect to "null" parameters. This was requested in bug 58 by + Sebastian Davids. +

    +

    Removed the slf4j-archetype module because nobody seems to have a + use for it.

    July 12th, 2007 - Release of SLF4J 1.4.2

    diff --git a/src/main/assembly/source.xml b/src/main/assembly/source.xml index 84db60ca..1e66de66 100644 --- a/src/main/assembly/source.xml +++ b/src/main/assembly/source.xml @@ -78,6 +78,7 @@ + @@ -136,10 +138,12 @@ slf4j-site/src/ +