Re: Problems with log4j SimpleSocketServer connection

2009-03-26 Thread Dmitry
On the server side you must use XML based receiver as well. Non java applications (c,c++,.net,etc..) must send logging events in XML serialized form and get reconstructed on the server into Java objects from this XML. -- Kind regards, Dmitry www.moonlit-software.com Moley Harey wrote: Hi

Re: Problems with log4j SimpleSocketServer connection

2009-03-25 Thread Dmitry
, Dmitry http://www.moonlit-software.com Moley Harey wrote: Hi folks, I have implemented a Java SimpleSocketServer application that is running with log4j version 1.2, I have done a test Java class that initialize the logging and sends a couple of messages to the SimpleSocketServer and works fine

Re: Is it possible several web servers writing in the same log file?

2009-03-10 Thread Dmitry
ct any log file instantly. Works on most linuxes too.. Regards, Dmitry. Agustín wrote: Hi there! I have the following question: Two linux machines with the same web application work together in "load balance" configuration. Could I have the same log file for the two servers? The first idea

Logging with rules

2007-11-07 Thread Dmitry
Do we have any db logging configuration with specific emiting rules? Thank, DT www.ejinz.com Search Trades - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AsyncAppender

2007-08-28 Thread Dmitry Beransky
I'm on 1.2.13 On 8/28/07, James A. N. Stauffer <[EMAIL PROTECTED]> wrote: > > What version of log4j are you using? There were problems with that > appender in older versions. >

AsyncAppender

2007-08-28 Thread Dmitry Beransky
Hi, Are there any tricks to using the asyncronous appender class? I've added the following to my log4j.xml file: and as soon as I switch the root from FILE to A_FILE, logging stops. The file is still being created though by the nested appender. Dmitry

showing stack trace

2007-01-08 Thread Dmitry Beransky
Hi, For some debug messages I'd like to be able to log the stack trace at the time of execution even if there is no exception. I know that I can do this by simply calling debug("this is my message", new RuntimeException("trace")), but I'd like to be able to control when the trace is displayed fr

Re: Log files unlocking

2006-08-18 Thread Dmitry Kan
you not delete any old log files prior to configuring log4j? I.e., don't try deleting the current run's logs at the end of your program, but delete the previous run's logs at the start of your program. -Original Message- From: Dmitry Kan [mailto:[EMAIL PROTECTED] Sent: vrijd

Re: Log files unlocking

2006-08-18 Thread Dmitry Kan
be just full of log files. On 18/08/06, James Stauffer <[EMAIL PROTECTED]> wrote: If you could provide the reason that you want to do this we might have better suggestions. On 8/18/06, Dmitry Kan <[EMAIL PROTECTED]> wrote: > The log file is being removed with Java at the end of a p

Re: Log files unlocking

2006-08-18 Thread Dmitry Kan
Stauffer <[EMAIL PROTECTED]> wrote: How (with Java or external?) and when (while program is running?) are you trying to remove it? On 8/18/06, Dmitry Kan <[EMAIL PROTECTED]> wrote: > Hi there! > > I've got a small problem with unlocking log files after all logging's

Log files unlocking

2006-08-17 Thread Dmitry Kan
at file (I need to remove it after the app's done its work). I've just tried LogManager.shutdown(); but it hasn't worked. Any ideas are appreciated. -- best wishes, Dmitry Kan

java.lang.NoClassDefFoundError: org/apache/log4j/Category

2006-07-08 Thread Dmitry S. Kravchenko
I'm insuccessfully trying to use log4j in Tomcat webapps. Recently I tried to recognize, where I should put jar and property files to make system work. I found, that if I put jar file in global lib directory, and properties file in WEB-INF/classes directory, system does not ever start with the mes

RE: FW: No appenders could be found for logger

2006-07-05 Thread Dmitry S. Kravchenko
ld be found for logger > > > Look at http://wiki.apache.org/logging-log4j/Log4jConfigurationHelp > If you still have questions please send the output that > log4j.debug caused. > > On 7/5/06, Dmitry S. Kravchenko <[EMAIL PROTECTED]> wrote: > > > If you want a s

RE: FW: No appenders could be found for logger

2006-07-05 Thread Dmitry S. Kravchenko
> If you want a separate config for each app, you need to put > log4j.jar in WEB-INF/lib and log4j.properties in WEB-INF/classes So, this is what I have done. But it does not work. > > On 7/5/06, Dmitry S. Kravchenko <[EMAIL PROTECTED]> wrote: > > Thank you. > &

RE: FW: No appenders could be found for logger

2006-07-05 Thread Dmitry S. Kravchenko
> regards, > > -Jaikiran > > > > Rohit B Rai <[EMAIL PROTECTED]> wrote: > > I am trying to use Log4J for logging from Ant but it > gives these errors. > > > > > > > > log4j:WARN No appenders could be found for logger > &

FW: No appenders could be found for logger

2006-07-05 Thread Dmitry S. Kravchenko
-Original Message- From: Dmitry S. Kravchenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 05, 2006 6:04 PM To: '[EMAIL PROTECTED]' Subject: No appenders could be found for logger Hi! I don't understand, how to use log4j in Tomcat. It seems to me, that docs a