Hi Kishanthan,
Does this mean, log4j.properties file is no longer supported in 2.0?
Log4j 2.x doesn't support log4j.properties files anymore.
We can configure log4j2 using a configuration file written in XML, JSON or
YAML or else we can configure log4j2 programmetically [1].
What kind of
Hi Chathura,
On Mon, Apr 20, 2015 at 9:27 AM, Chathura Priyankara chathu...@wso2.com
wrote:
Hi Kasun,
Related to the Log4j upgrade in the Carbon platform there are following
pros and cons of each method.
1. Using Log4j 1.2 bridge.
Simplest way of converting log4j is to use the Log4j 1.2
On Fri, Apr 24, 2015 at 5:40 PM, Chathura Priyankara chathu...@wso2.com
wrote:
Hi,
Axis2-json plugin depends on log4j 1.2 so we need to keep both log4j 1.2
and log4j 2.2 versions together.
I'm planing to crate two different orbit bundles for log4j 1.2.17 and
log4j 2.2 and add them as
Hi Manoj,
Yes we can upgrade axis2 log4j version to log4j2.
There may be some other modules also which use log4j in Axis2, so we have
to upgrade that modules also.
Thanks,
Chathura.
On Fri, Apr 24, 2015 at 8:14 PM, Manoj Kumara ma...@wso2.com wrote:
Hi Chathura,
Having two version is not a
Hi Chathura,
Can you also list down the pros and cons of each option?
Thanks
On Apr 16, 2015, at 2:59 PM, Sameera Jayasoma same...@wso2.com wrote:
Hi Chathura,
Lets do a native upgrade.
Thanks,
Sameera.
On Thu, Apr 16, 2015 at 12:38 PM, Chathura Priyankara chathu...@wso2.com
Hi Kasun,
Related to the Log4j upgrade in the Carbon platform there are following
pros and cons of each method.
1. Using Log4j 1.2 bridge.
Simplest way of converting log4j is to use the Log4j 1.2 bridge, but there
are some limitations
with this approach.
Pros
- Easy to upgrade need only to
Hi Kasun,
Yes, with the both options we should be able to use Asynchronous Loggers,
because when we are using the log4j 1.2 bridge we can also use the new
additions to the Log4j2.
For the use of log4j 1.2 bridge we need to have these jars
log4j-api-2.2.jar, log4j-core-2.2.jar,
I'm currently working on migrating the Carbon platform to log4j 2.2 from
1.2.17.
There are two ways of upgrading log4j version as follows.
1. Using the Log4j 1.2 bridge.
2. Native upgrade
With the first option we cannot use Appenders.
As we need Appender support I decided to select the second
Hi Chathura,
Lets do a native upgrade.
Thanks,
Sameera.
On Thu, Apr 16, 2015 at 12:38 PM, Chathura Priyankara chathu...@wso2.com
wrote:
I'm currently working on migrating the Carbon platform to log4j 2.2 from
1.2.17.
There are two ways of upgrading log4j version as follows.
1. Using the