RE: Appender question

2007-07-20 Thread thomas.hawker
Is it because the appender name isn't "logtst", rather it's "R1"? Cheers! Tom Hawker Senior Framework Developer Home +1 (408) 274-4128 Office +1 (408) 576-6591 Mobile +1 (408) 835-3643 _ From: Boer den, Johan J (NSC) [mailto:[EMAIL PROTECTED] Sent: Friday, July 20, 200

RE: Nice to have an "ant install" target

2007-01-12 Thread thomas.hawker
Curt, FWIW, "make install" usually is a target that runs the install program (typically /usr/ucb/install or equivalent). The purpose of install is to copy a source file or directory tree to a target file or directory, setting ownership and permissions along the way. This includes making sure pa

RE: Newbie question

2006-02-27 Thread thomas.hawker
Francois,   If I remember correctly, logging is hierarchical, meaning a logger B inheriting from logger A will invoke the appenders for both B and A.  All loggers “inherit” from the root logger.  Although I forget the property, I think all you need to do is to tell your logger not to also

Available VC7 Sources

2006-02-07 Thread thomas.hawker
Is there an available Windows Visual Studio .NET ZIP file that I can access to download the latest CVS head?  It appears that I can’t use SVN – we seem to be unable to access it except through the web browser (probably a proxy problem).   Tom Hawker OOCL (USA), Inc. Senior Framework Dev

RE: Statically linking log4cxx's dependencies

2006-01-04 Thread thomas.hawker
JK, Make sure in your linking that you are referencing the object archive and not the shared object. I think you need to use -Bstatic before the -lapr and -lapr-util in order for it to pick up the archives. Make sure that the libapr.ar and libapr-util.ar files are in the same places as the .so f

RE: [SPAM] RE: Antwort: RE: Failed to rename log file

2005-11-30 Thread thomas.hawker
You can also use command-line arguments to tailor log file name. Using the process ID is probably the simplest programmatic change. You should be able to use a socket appender transparently through the configuration file (that assumes you use one and don't do it programmatically). Cheers! T

RE: Failed to rename log file

2005-11-29 Thread thomas.hawker
Umm, perhaps the file name pattern should use backslashes? Cheers! Tom Hawker Home408-274-4128 Office 408-576-6591 Mobile 408-835-3643 -Original Message- From: Jitendra Kharche [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 29, 2005 12:05 AM To: Log4CXX User Subject:

RE: A design problem!

2005-11-01 Thread thomas.hawker
Hi! The only thing you have to be careful about with Laz's approach is a failure of the application (program, process, or platform) while buffering all those records. The solution is viable only if you don't care about potential data loss. If data loss is unacceptable, which might be the case wh

RE: A design problem!

2005-10-31 Thread thomas.hawker
Hmm, that's an awful lot of file descriptors necessary to support 2000 open files. Keeping that many files open (not to mention that many connections) is going to pose a big burden on the OS. On the event of a system crash, you run the risk of losing an awful lot of the file data, too. This is a

RE: Unresolved Externals when calling logging methods from extern "C" function.

2005-08-16 Thread thomas.hawker
No, the linkage convention for your DLL shouldn't make a difference unless the log4cxx library is not included. I built a DLL accessed by Smalltalk just fine, but the log4cxx classes (0.9.7, I'm afraid) were included in my special DLL rather than being a separate DLL. Have you specified the log4c

RE: Different level messages for console and logfile

2005-04-22 Thread thomas.hawker
Sorry, I don't have time to go into the details, but you run everything at the debug level and apply filters to the appenders. Cheers! Tom Hawker Home408-274-4128 Office 408-576-6591 Mobile 408-835-3643 -Original Message- From: Thierry Lam [mailto:[EMAIL PROTECTED] Sent: Friday,

RE: Directory for FileAppender

2005-03-17 Thread thomas.hawker
The configuration classes do environment variable substitution, thus you can use $HOME or something else. I don't recall if it uses platform specific conventions ($HOME, %HOME%), just Unix conventions ($HOME), or whether you can/must use delimiters ($(HOME), ${HOME}). There is some method called

RE: ErrorHandler problem (was ODBCppender problem)

2005-02-15 Thread thomas.hawker
Having looked through the error handler logic, I'm not surprised that it has been removed. The unfortunate part about the implementation is that it is one-way: the existing appender(s) were zapped by the fallback appenders, and no provision existed to recover automatically. Fixing this flaw woul

RE: How to print the internal log messages

2005-02-15 Thread thomas.hawker
Title: How to print the internal log messages I think, in the element of your XML configuration file, you add the attribute debug=“true”.   Cheers!   Tom Hawker Home  408–274–4128 Office  408–576–6591 Mobile    408–835–3643 From: Prakash Kadam [mailto:[EMAIL PRO

RE: How do i load a custom parameter?

2005-01-17 Thread thomas.hawker
There’s another method you have to override, something like setOptions(String name, String value).  You compare the name string to the property name you want to set, and if they match (usually converting both to upper or lower case), convert the property string to the correct representation

RE: 0.9.8 version (poll)

2005-01-11 Thread thomas.hawker
Further to the below: I managed to retrieve a clean drop from CVS and discovered that the MS Visual Studio files are not correct or are missing. The workspace file is present, but the log4cxx.dsp project file is absent. Further, it seems that when you compile the dll.dsp project, it references t

RE: 0.9.8 version (poll)

2005-01-11 Thread thomas.hawker
Sir,   In response to your request for a poll, I wasn't sure if I should attempt to post to the mailing list (haven't ever done that) or send this directly to you.  I opted for the easier solution as I’m very new to the Apache forum techniques.   Tom Hawker Office    408–576–6591 PCS