Re: Configuration file location programmatically

2013-03-07 Thread Yogi Nerella
Can you try setting System.setProperty("*log4j.configuration", "location_to_property_file");* * * *this will work only if you have not initialized log4j. * * * * * On Thu, Mar 7, 2013 at 2:37 AM, shadowitsilver-lo...@yahoo.it < shadowitsilver-lo...@yahoo.it> wrote: > Hello to everyone, > i need

Re: Any tools to convert log messages to log events

2013-02-27 Thread Yogi Nerella
he > entry when aaa or bbb are empty strings? If so, I'd hope that'd be a bug we > could fix.. > > I'm not sure on the receiver side how you could use log4j2..it is coded > against log4j 1.2.x...you can use log4j2 on the appender side - this > receiver doesn't car

Re: Any tools to convert log messages to log events

2013-02-27 Thread Yogi Nerella
tic final LoggerRepositoryExImpl repositoryExImpl = new > LoggerRepositoryExImpl(LogManager.getLoggerRepository()); > > Which I think you also need to do prior to calling activateOptions on the > receiver.. > > Scott > > On Tue, Feb 26, 2013 at 2:52 PM, Yogi Nerella > wrote:

Re: Any tools to convert log messages to log events

2013-02-26 Thread Yogi Nerella
boy wrote: > Err left hand side :) > > > On Tue, Feb 26, 2013 at 10:38 AM, Scott Deboy > wrote: > > > The link I referenced: > > http://logging.apache.org/log4j/companions/extras/ > > > > Has a 'download' link on the right hand side. > > &g

Re: Any tools to convert log messages to log events

2013-02-26 Thread Yogi Nerella
uggest pulling down the latest developer snapshot at > http://people.apache.org/~sdeboy > > Also, the OptionHandler class is a part of the log4j extras companion > release (http://logging.apache.org/log4j/companions/extras/) > > Scott > > > > > On Mon, Feb 25, 20

Re: Any tools to convert log messages to log events

2013-02-25 Thread Yogi Nerella
2, 2013, at 3:51 PM, Scott Deboy wrote: > > >>>>> > > >>>>>> Log4j2 has no concept of receivers, correct? > > >>>>>> > > >>>>>> > > >>>>>> On Fri, Feb 22, 2013 at 3:39 PM, Ralp

Re: Can substitution in replace regexpression take the MDC context key name?

2013-02-19 Thread Yogi Nerella
dc:name}. > > Ralph > > > On Feb 15, 2013, at 12:02 PM, Yogi Nerella wrote: > > > Hi, > > > > I want to replace some constant strings with the MDC.context() values? > > > > Does regularexpress replace support this? > > &

Re: how to set to RollingFileAppender interval to 5 minutes.

2013-02-15 Thread Yogi Nerella
of the hour. > > Ralph > > > On Feb 14, 2013, at 9:55 AM, Yogi Nerella wrote: > > > HI, > > > > How to set interval in minutes, if we want to Roll every 5 minutes? > > > > Currently it is only accepting in hours? > > > > Yogi > > >

Re: Beta 4, is slf4j bindings broken?

2013-02-15 Thread Yogi Nerella
eate a Jira issue to have that library be > made optional. > > Ralph > > On Feb 13, 2013, at 4:13 PM, Yogi Nerella wrote: > > > Ralph, > > > > I am including only the following files. > > slf4j-api-1.7.2.jar, log4j-core-2.0-beta4.jar, > > log4j-slf4j-im

Re: Any thoughts on RollingFlumeAppender

2013-02-14 Thread Yogi Nerella
f how to implement that as it is complicated. > > Ralph > > > On Feb 14, 2013, at 9:58 AM, Yogi Nerella wrote: > > > Hi, > > > > I would like to have a RollingFlumeAppender built on top of > > RollingFileAppender, so that all synchronous operations are writte

Re: Beta 4, is slf4j bindings broken?

2013-02-13 Thread Yogi Nerella
ava:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 4 more Exception in thread "main" Appreciate your hlep, Yogi On Wed, Feb 13, 2013 at 4:13 PM, Yogi Nerella wrote: > Ralph, > > I am including on

Re: Beta 4, is slf4j bindings broken?

2013-02-13 Thread Yogi Nerella
gt; Ralph > > On Feb 13, 2013, at 2:57 PM, Yogi Nerella wrote: > > > Hi, > > > > When I try to use SLF4J bindings with log4j2.0 implementations I run into > > the following exception? > > > > Exception in thread "main" ja

Re: log4j2.0 - beta4 MDC.put(String, String) method not found

2013-02-08 Thread Yogi Nerella
have resolved the MDC error by modifying ThreadContext.put(); Yogi On Fri, Feb 8, 2013 at 4:41 AM, Gary Gregory wrote: > What file did you download and run to get this? Or what is from a svn tag? > > Gary > > On Feb 7, 2013, at 17:16, Yogi Nerella wrote: > > > Hi, >

log4j2.0 - beta4 MDC.put(String, String) method not found

2013-02-07 Thread Yogi Nerella
Hi, Any one seeing this error? All log4j.xml files I am using are from the sample code only. Thanks, Yogi log4j:WARN Continuable parsing error 2 and column 108 log4j:WARN Document root element "log4j:configuration", must match DOCTYPE root "null". log4j:WARN Continuable parsing error 2 and colu

Re: beta 4 download site

2013-02-05 Thread Yogi Nerella
Thank you, Stupid user error, not refreshing the browser. Yogi On Tue, Feb 5, 2013 at 12:24 PM, Gary Gregory wrote: > On Tue, Feb 5, 2013 at 3:21 PM, Christian Grobmeier >wrote: > > > On Tue, Feb 5, 2013 at 9:17 PM, Yogi Nerella > > wrote: > > > Christian, &g

Re: beta 4 download site

2013-02-05 Thread Yogi Nerella
try that: > > http://logging.apache.org/log4j/2.x/download.html > > Cheers, > Christian > > On Tue, Feb 5, 2013 at 7:38 PM, Yogi Nerella > wrote: > > Hello, > > > > Where can I download beta 4? > > > > Regards, > > Y

Re: [ANNOUNCEMENT] Apache Log4j 2.0.beta4 released

2013-02-05 Thread Yogi Nerella
Hi, Where can I download beta4, I dont see them at the site? Regards, Yogi On Fri, Feb 1, 2013 at 8:15 AM, Ralph Goers wrote: > The Apache Logging team is pleased to announce the Apache log4j 2.0-beta4 > release! > > Apache log4j is a well known framework for logging application behavior. > Lo

Re: Release time line for 2.0

2013-01-29 Thread Yogi Nerella
5. > > Is there something you are specifically looking for? > > Ralph > > > On Jan 29, 2013, at 11:21 AM, Yogi Nerella wrote: > > > Hi, > > > > I have looked at the website, but couldnt understand when log4j 2.0 > Release > > version will