
org.apache.log4j.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pax-logging-log4j1 Show documentation
Show all versions of pax-logging-log4j1 Show documentation
Pax Logging backend implementation based on Apache Log4J. It provides Log4J specific implementation
of PaxLoggingService interface and Log4J specific configuration methods.
Users may customize Log4J behaviour (appenders, layouts) by creating fragment attached to this bundle.
The newest version!
/*
* 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.
*/
/**
* While pax-logging-api bundle exports {@code org.apache.log4j} package (and makes some methods no-op),
* pax-logging-log4j1 bundle has to Private-Package some of the classes from the same package.
*
* Normally classes from this package will be loaded using OSGi import from pax-logging-api bundle,
* but when needed, some classes from original log4j:log4j JAR have to be shaded here (and not exported).
*
* This is especially important for {@code org.apache.log4j.Logger} class itself - pax-logging-api exports
* this class to be used as API of Log4J1, but pax-logging-log4j1 has to use own (and unchanged - except when
* fixing some performance/synchronization issues) copy from log4j:log4j. But also other classes from this package
* have to be shaded. General rule is - if pax-logging-api changes some class from Log4J1 (usually to no-op some
* methods), pax-logging-log4j1 should use own copy.
*/
package org.apache.log4j;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy