RE: can we set log4j property 'Log4jContextSelector' per webapps war

2022-04-07 Thread Pooja Pandey
e yet. we have not planned yet to completely migrate to log4j2 interface due to time constraints and to avoid lot of unknown issues with our huge legacy code. -Original Message- From: Pooja Pandey Sent: Thursday, April 7, 2022 2:16 PM To: Log4J Users List Subject: RE: can we set

RE: can we set log4j property 'Log4jContextSelector' per webapps war

2022-04-07 Thread Pooja Pandey
sed you not to do that. Second, putting the property in log4j2.component.properties is correct. However, it must only be on the classpath of the web app that needs it, not in a shared directory. Ralph > On Apr 6, 2022, at 3:25 PM, Pooja Pandey wrote: > > But these other 2 wars alread

Re: can we set log4j property 'Log4jContextSelector' per webapps war

2022-04-06 Thread Pooja Pandey
same Log4j jars then you can only have a single ContextSelector. Ralph > On Apr 6, 2022, at 11:17 AM, Pooja Pandey > wrote: > > Webapps wars path is like: installation directory/soa-dir/webapps/ > > Along with various other product libs, log4j2 jars and log4j2 propertie fi

Re: can we set log4j property 'Log4jContextSelector' per webapps war

2022-04-06 Thread Pooja Pandey
g attachments or links *** Where are the Log4j jars located? Ralph > On Apr 6, 2022, at 6:34 AM, Pooja Pandey wrote: > > Hi, > > In my application, I have 2 processes running and there are 3 webapps war > files which get deployed in tomcat version 9.0.60. Out of these 3 war

RE: can we set log4j property 'Log4jContextSelector' per webapps war

2022-04-06 Thread Pooja Pandey
o default. "java.lang.ClassCastException: Cannot cast logger.log4j2.CustomLog4j2ContextSelector to org.apache.logging.log4j.core.selector.ContextSelector". -Original Message- From: Pooja Pandey Sent: Wednesday, April 6, 2022 7:04 PM To: Log4J Users List Subject: can w

can we set log4j property 'Log4jContextSelector' per webapps war

2022-04-06 Thread Pooja Pandey
Hi, In my application, I have 2 processes running and there are 3 webapps war files which get deployed in tomcat version 9.0.60. Out of these 3 war files, one war file is internal to my application while other 2 are coming as final artifacts from artifiactory. My war uses a custom logger and c

RE: Synchronization issue in multithreading (Losing huge data in multithreading) with log4j 1.x bridge (2.17.2)

2022-03-24 Thread Pooja Pandey
:\\Users\\Pooja.Pandey\\vdrws.log")); writer.write(""); writer.flush(); JavaLoggingMultiThTest javaLoggingMultiThTest = new JavaLoggingMultiThTest(); try { javaLoggingMultiThTest.pid = getCurrrentProcessId(); } catch (Exception e) { e.printStackTrace

RE: Synchronization issue in multithreading (Losing huge data in multithreading) with log4j 1.x bridge (2.17.2)

2022-03-24 Thread Pooja Pandey
Attaching sample test program for simulated multithreading logging. From: Pooja Pandey Sent: Friday, March 25, 2022 4:37 AM To: Log4J Users List Subject: Synchronization issue in multithreading (Losing huge data in multithreading) with log4j 1.x bridge (2.17.2) *** External email: Verify

Synchronization issue in multithreading (Losing huge data in multithreading) with log4j 1.x bridge (2.17.2)

2022-03-24 Thread Pooja Pandey
Hi, In our application we have migrated from log4j1.x to log4j1.x bridge. With Log4j1.x there was no issue with multithreading but with log4j 1.x bridge we have noticed that in multithreading environment there is a huge data loss while logging, however single thread works fine. I see that in Ca

Re: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge

2022-03-10 Thread Pooja Pandey
operty(ConfigurationFactory.LOG4J1_CONFIGURATION_FILE_PROPERTY, configURL.toString()); System.clearProperty(LOG4J1_MONITOR_INTERVAL); LoggerContext context = LoggerContext.getContext(false); context.setConfigLocation(null); } -Jason From: Pooja Pandey Date: Wednesday, March 9, 2022 at 7:50 PM To: Log4J Users List Subje

RE: [External Sender] Re: Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge

2022-03-09 Thread Pooja Pandey
Hi Jason, -> Our solution is to use log4j2 api to implement what PropertyConfigurator.configure does. Can you please share the solution snippet for reference? Thanks, Pooja -Original Message- From: Jason Wen Sent: Wednesday, March 9, 2022 9:16 PM To: Log4J Users List Subject:

Alternative to PropertyConfigurator while migrating from log4j1.x to log4j1.x bridge

2022-03-09 Thread Pooja Pandey
We are using PropertyConfigurator.configure(), but this doesn't work in log4j1.x bridge. Please let me know if you have any idea on how to fix it. Thanks, Pooja

RE: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Pooja Pandey
ject: Re: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup *** External email: Verify sender before opening attachments or links *** Hi, On Tue, Mar 8, 2022 at 7:48 AM Pooja Pandey wrote: > I

RE: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Pooja Pandey
ate Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup *** External email: Verify sender before opening attachments or links *** Use the Log4j 2 API instead of Log4j 1. Gary On Tue, Mar 8, 2022, 08:20 Pooja Pandey wrote: > -&g

RE: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Pooja Pandey
of updating your call sites to the Log4j 2 API. Gary Gary On Tue, Mar 8, 2022, 07:20 Pooja Pandey wrote: > -> What does your Log4j configuration file look like? > > I have figured adding log4j-web.jar into my libs fixes below issue. I > have added following 2 jars as well lo

RE: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-08 Thread Pooja Pandey
ist Subject: Re: Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup *** External email: Verify sender before opening attachments or links *** Hi Pooja, What does your Log4j configuration f

Log4j1.x bridge error: Unable to create Lookup for bundle java.lang.ClassCastException: class org.apache.logging.log4j.core.lookup.ResourceBundleLookup

2022-03-07 Thread Pooja Pandey
Hi, I am trying to migrate from log4j1.x to log4j2.17.2 using log4j1.x bridge approach. I am getting below ClassCastException error message. Please let me know if you have any idea how to fix this. 2022-03-08 01:41:17,023 http-nio-8088-exec-9 ERROR Unable to create Lookup for bundle java.lang

Re: Log level settings are not working correctly and getting wrong value

2022-03-07 Thread Pooja Pandey
email: Verify sender before opening attachments or links *** Hello, On Mon, Mar 7, 2022 at 3:15 PM Pooja Pandey wrote: > > From the questions you posted up to now, you use a lot of custom code > extending Log4j 1.x capabilities. In my personal opinion you'll spend more > time tr

RE: Log level settings are not working correctly and getting wrong value

2022-03-07 Thread Pooja Pandey
ng wrong value *** External email: Verify sender before opening attachments or links *** Hello Pooja, On Mon, Mar 7, 2022 at 1:40 PM Pooja Pandey wrote: > > -> If I recall correctly, you are using a custom `Logger` class. My guess is > that you overrode the `getEffectiveLevel()` with

RE: Log level settings are not working correctly and getting wrong value

2022-03-07 Thread Pooja Pandey
not working correctly and getting wrong value *** External email: Verify sender before opening attachments or links *** Hello Pooja, On Mon, Mar 7, 2022 at 11:23 AM Pooja Pandey wrote: > I think there is something wrong with Log4j1.x bridge level handling when > migrating from log4j1.x to

Log level settings are not working correctly and getting wrong value

2022-03-07 Thread Pooja Pandey
Hi team, I think there is something wrong with Log4j1.x bridge level handling when migrating from log4j1.x to log4j2.x. Issue: In my config file, log level is set to "Error", but with log4j1.x bridge log level is getting calculated as DEBUG. I think this is since in log4j1.x from FATAL to DEB

RE: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-06 Thread Pooja Pandey
Hi Piotr, I am not building log4j2 1.x bridge jars but downloading the jar directly. I wanted to test with your Pull Request changes, is it possible for you to provide log4j1.x bridge.jar log4j2-core.jar and log4j2-api.jar built with this change ?? -Original Message- From: Piotr P. Kar

RE: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-05 Thread Pooja Pandey
I have created below JIRA ticket for the issue I am facing, LOG4J2-3426 Log4j 1.x bridge Logger.getAppender returns a wrapped AppenderAdapter Link -> https://issues.apache.org/jira/browse/LOG4J2-3426 Thanks, Pooja -Original Message- From: Pooja Pandey Sent: Sunday, March 6, 202

RE: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-05 Thread Pooja Pandey
Hi Ralph, -> What is the tie in that requires a custom Logger? We have created customLogger to achieve some specific initialization for our application. Thanks, Pooja -Original Message- From: Ralph Goers Sent: Saturday, March 5, 2022 10:55 PM To: Log4J Users List Subject:

Re: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-05 Thread Pooja Pandey
Log4J Users List Subject: Re: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender *** External email: Verify sender before opening attachments or links *** Hi Pooja, On Sat, Mar 5, 2022 at 1:48 PM Pooja Pandey wrote: >

Re: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-05 Thread Pooja Pandey
2022, at 7:00 PM, Pooja Pandey wrote: > > By overriding getAppender in our customLogger, the cast Exception could be > fixed, however we are still having some minor issues in reading property > value but may be this new issue is due to some other problems. I am still &

Re: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-05 Thread Pooja Pandey
PM To: Log4J Users List Subject: Re: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender *** External email: Verify sender before opening attachments or links *** Hi Pooja, On Sat, Mar 5, 2022 at 3:01 AM Pooja Pandey

Re: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-04 Thread Pooja Pandey
(final String name) { AppenderWrapper appenderWrapper = (AppenderWrapper) super.getAppender(name); return ((AppenderAdapter.Adapter)appenderWrapper.getAppender()).getAppender(); } Get Outlook for iOS<https://aka.ms/o0ukef> From: Pooja

Re: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-04 Thread Pooja Pandey
Actually, in first go due to time constraint, we are using log4j bridge instead of direct log4j2 API to migrate our legacy huge code from log4j1 to log4j2. In code we use custom FileAppender When we Logger.getAppender(), it is returning AppenderWrapper now with the bridge. Get Outlook for iOS<

RE: java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-04 Thread Pooja Pandey
, 2022, 03:36 Pooja Pandey wrote: > Hi Team, > > > > I am trying to migrate from log4j1.x to log4j2.17.2 using log4j1.x > bridge approach. I am getting below ClassCastException error message. > Please let me know if you have any idea how to fix this. > > >

java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-04 Thread Pooja Pandey
to org.apache.log4j.FileAppender Thanks, Pooja

java.lang.ClassCastException: org.apache.log4j.bridge.AppenderWrapper cannot be cast to org.apache.log4j.FileAppender

2022-03-04 Thread Pooja Pandey
org.apache.log4j.FileAppender Thanks, Pooja -Original Message- From: Ralph Goers Sent: Thursday, March 3, 2022 10:44 AM To: Log4J Users List Subject: Re: Programmatic configuration all or nothing? *** External email: Verify sender before opening attachments or links *** As its name

RE: How to configure JMSAppender in JBoss?

2008-11-04 Thread Chitnis, Pooja
Hi, I think you will have to mention the topic name in the jndi.properties file. # topic.[jndiName] = [physicalName] Example topic.testTopic = testTopic Thanks & Regards, Pooja Chitnis -Original Message- From: Pras P. [mailto:[EMAIL PROTECTED] Sent: Sunday, November 02,

JBoss Activemw issue while using JMSAppender

2008-10-23 Thread Chitnis, Pooja
.(InitialContext.java:197) Can anybody help me resolving this error? Thanks & Regards, Pooja Chitnis

Chainsaw VFSLogFilePatternReceiver http tailing

2008-10-13 Thread Chitnis, Pooja
een. Is this not yet fixed for VFS or it's in process? Thanks & Regards, Pooja Chitnis

VFSLogFilePatternRaceiver using HTTP protocol to view log files

2008-10-13 Thread Chitnis, Pooja
cked the "Ok to Remove SecurityManager". Any idea what is the reason Chainsaw couldn't locate the file? Am I missing something? Why is it looking for a temporary file store ? Thanks & Regards, Pooja Chitnis Thanks & Regards, Pooja Chitnis

FW: Database Logging Performance Numbers

2004-06-18 Thread pooja
Hi All I haven't received a response on this issue. Can someone at Log4j answer it for me? Thanx --- Pooja. -Original Message- From: pooja [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 6:50 PM To: 'Log4J Users List' Subject: Database Logging Performance Num

Database Logging Performance Numbers

2004-06-14 Thread pooja
gures. Currently, I am writing some crude test cases of my own. At the same time, if neone knows of some application (which handles so many transactions) already writing logs into database & functioning, this reference will suffice my job. Thanx