Re: application property

2010-05-12 Thread Dale King
in. It seems log4j provides the ability to do this, but it’s not clear where log4cxx stands. Reference: *http://markmail.org/message/5ufciwvzoqyeqc5x*http://markmail.org/message/5ufciwvzoqyeqc5x -- Dale King

Re: log4cxx 0.10.1 release plan (Re: link error in release mode with Visual Studio 2008 on log4cxx-user)

2010-05-12 Thread Dale King
expected and there are still some aftermath issues that need to be cleaned up. Any help on prioritizing or checking the bug reports would be appreciated. -- Dale King

Re: application property

2010-05-12 Thread Dale King
: *http://markmail.org/message/5ufciwvzoqyeqc5x*http://markmail.org/message/5ufciwvzoqyeqc5x -- Dale King

Re: File name and line numbers not working

2009-06-30 Thread Dale King
. janaw...@geckosoftware.com 435-752-8026 -- Dale King

Re: MutexException at exit when using SocketHubAppender

2009-05-18 Thread Dale King
Is there a solution to this? Am I using the SocketHubAppender incorrectly? My config is: log4j.rootLogger=TRACE, SOCKETHUB log4j.appender.SOCKETHUB=org.apache.log4j.net.SocketHubAppender log4j.appender.SOCKETHUB.port=4445 -- Dale King

Re: Addning new fields to the logs.

2009-03-16 Thread Dale King
-fields-to-log4cxx-logger.html I don't know if this is the best way to do it works for us. Any alternative approach will be highly appreciated. Many thanks, RODOLFO -- Dale King

Re: Visual C++ Assertion failed when using LOG4CXX_DECODE_CHAR macro in statically linked MFC project

2008-11-27 Thread Dale King
libs is not an option for my real project, as you might have guessed ;-). Thanks, Peter. -- Dale King

Re: Visual C++ Assertion failed when using LOG4CXX_DECODE_CHAR macro in statically linked MFC project

2008-11-27 Thread Dale King
PROTECTED] wrote: Hi Dale, Thanks for your reply. On 27 Nov , 2008, at 13:46 , Dale King wrote: I don't see anything wrong in what you showed. The problem is probably in code you have not shown. Based on the error you show it sounds more like you are doing something like delete string2

Re: JDBCAppender

2008-11-26 Thread Dale King
-tp20593910p20706436.html Sent from the Log4cxx - Users mailing list archive at Nabble.com. -- Dale King

Re: Does TimeBasedRollingPolicy work with MaxBackupIndex?

2008-10-11 Thread Dale King
-with-MaxBackupIndex--tp19915414p19915414.html Sent from the Log4cxx - Users mailing list archive at Nabble.com. -- Dale King

Re: How to config log4cxx to delete the log files periodically

2008-09-29 Thread Dale King
is done by subclassing TimeBasedRollingPolicy. On Fri, Sep 26, 2008 at 5:43 AM, Jathy [EMAIL PROTECTED] wrote: Hi, Could you give more information or an example on this? Thanks. Dale King-2 wrote: That is already possible. You would need to use the RollingFileAppender that is in the rolling

Re: TimeBased + SizeBased

2008-09-29 Thread Dale King
was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters. -- Dale King -- Dale King

Re: TimeBased + SizeBased

2008-09-29 Thread Dale King
am trying to do here is help others. The bit of difficulty I had was that TimeBasedRollingPolicy cannot be used just as a triggering policy. It can be used just as a rolling policy as I described. What I wanted was rollover every day, but only keep the last n days worth of logs. -- Dale King

Re: XMLSocketAppender: Reconnection fails

2008-09-23 Thread Dale King
not happen. The same behaviour is shown when the connection cannot be established at the beginning of a session. Is that a known bug/feature?? I'am using log4cxx 0.10.0. Cheers Stefan -- Dale King

Re: Accessing a LoggingEvent's properties using a PatternLayout

2008-09-22 Thread Dale King
::MDC class. -- Dale King

RE: How to config log4cxx to delete the log files periodically

2008-09-17 Thread Dale King
of housekeeping he wants without needing to use the crontab…   regards, Allen.   From: Dale King [mailto:[EMAIL PROTECTED] Sent: Saturday, September 13, 2008 4:20 PM To: Log4CXX User Subject: Re: How to config log4cxx to delete the log files periodically   Log4Cxx does not have this capability

Re: How to config log4cxx to delete the log files periodically

2008-09-13 Thread Dale King
. Regard, Jathy -- View this message in context: http://www.nabble.com/How-to-config-log4cxx-to-delete-the-log-files-periodically-tp19448819p19450427.html Sent from the Log4cxx - Users mailing list archive at Nabble.com. -- Dale King

Re: Socket and XMLSocketReceiver

2008-08-19 Thread Dale King
years ago! You're welcome to try to build Chainsaw yourself against the 1.2 branch. Good luck, I've never been able to do it. Here is more info on this: http://markmail.org/message/ih7q5rgfckmlowaw#query:log4j%20chainsaw%20MDC+page:1+mid:ny52attu27fglhnl+state:results -- Dale King

Re: Extending DailyRollingFileAppender

2008-07-31 Thread Dale King
of the format keeps it the same. This would rollover every second: log-%d{dd-MMM--HH_mm_ss}.log This would rollover every hour: log-%d{dd-MMM--HH}.log This should rollover every 10 minutes I think: log-%d{dd-MMM--HH_m}0.log -- Dale King

Re: Can I configure SyslogAppender to post the log messages to any non standard port?

2008-07-26 Thread Dale King
. As you guessed it is hardcoded. -- Dale King

Re: Maximum backup index for RollingFileAppender

2008-07-17 Thread Dale King
to delete older logs. -- Dale King

Re: Maximum backup index for RollingFileAppender

2008-07-17 Thread Dale King
On Thu, Jul 17, 2008 at 2:41 AM, Jostein Tveit [EMAIL PROTECTED] wrote: Dale King [EMAIL PROTECTED] writes: 12 is a hardcoded limit because this requires renames of all backup files which is expensive It would have been nice if log4cxx issued a warning or error message if the value was set

Re: Maximum backup index for RollingFileAppender

2008-07-16 Thread Dale King
that the maxBackupIndex appears to top out at 13, even though we have 20 specified. Are we doing something wrong or is 13 a hard coded maximum for this field? 12 is a hardcoded limit because this requires renames of all backup files which is expensive . -- Dale King

Re: Problems building with MinGW

2008-06-27 Thread Dale King
binaries for APR instead of building them yourself. I can send you my vcproj files if you would rather go that route. The wiki build instructions should really be updated to reflect how to build with visual studio. -- Dale King

Re: Problems building with MinGW

2008-06-27 Thread Dale King
to use log4cxx. So there are advantages to using a non-windows specific toolchain, the problem here was that apr was broken at the moment for the windows version of that toolchain (mingw). So there is a reason for MinGW. -- Dale King

Re: URGENT compilation error of sample program

2008-06-16 Thread Dale King
On Mon, Jun 16, 2008 at 2:22 AM, srkraju [EMAIL PROTECTED] wrote: log4j.appender.A4=org.apache.log4j.DailyRollingFileAppender log4j.appender.A4.File=example.log log4j.appender.A4.DataPattern='.'-MM-dd-HH-mm That should be DatePattern -- Dale

Re: URGENT compliation error of sample program (test.cpp)

2008-06-14 Thread Dale King
-1.6.5/lib/ -L tells the linker where to look for libraries. You have to actually specify what libraries to look for as well using the -l option. So if your directory had libfoo.so in it that you needed to link with, you would add -l foo to your command line. -- Dale King

Re: URGENT compliation error of sample program (test.cpp)

2008-06-13 Thread Dale King
*)' That is a link error, not a compile error. The command line you show says to compile and link, but you didn't specify ant libraries to link against so it is not linking against log4cxx. -- Dale King

Re: how would a wrapper for Log4cxx best look like

2008-06-09 Thread Dale King
think you first need to figure out why you want a wrapper. -- Dale King

Re: how to make the system generate the output log file suffix?

2008-06-06 Thread Dale King
equivalent to the class you linked to. The equivalent file pattern on windows would be: ${USERPROFILE}/myApp%i.log -- Dale King

Re: Using the syslog appender in log4cxx

2008-06-05 Thread Dale King
://svn.apache.org/viewvc/logging/log4cxx/trunk/src/main/cpp/syslogappender.cpp?r1=613005r2=654960pathrev=654960diff_format=l It has already been fixed in the trunk version of the repository. See this revision: http://svn.apache.org/viewvc?view=revrevision=654960 -- Dale King

Re: Using the syslog appender in log4cxx

2008-06-05 Thread Dale King
described. Not sure why it wouldn't work with 0.9.7 -- Dale King

Re: Using the syslog appender in log4cxx

2008-06-05 Thread Dale King
On Thu, Jun 5, 2008 at 10:18 PM, Curt Arnold [EMAIL PROTECTED] wrote: On Jun 5, 2008, at 12:55 PM, Dale King wrote: That is a bug in version 0.10.0 Local 2 and higher was not implemented correctly. See this difference to see the cut-and-paste error: http://svn.apache.org/viewvc/logging

Re: Major problem with wide vs. normal strings in log messages

2008-05-23 Thread Dale King
On Thu, May 22, 2008 at 10:37 PM, Curt Arnold [EMAIL PROTECTED] wrote: On May 22, 2008, at 6:21 PM, Dale King wrote: Consider these statements on a platform (i.e. Windows) where WCHAR is used with various combinations of wide and normal strings: LOG4CXX_TRACE( logger, L1 L2

Re: Major problem with wide vs. normal strings in log messages

2008-05-23 Thread Dale King
On Fri, May 23, 2008 at 12:35 PM, Jacob L. Anawalt [EMAIL PROTECTED] wrote: Dale King wrote: On Thu, May 22, 2008 at 7:55 PM, Jacob L. Anawalt [EMAIL PROTECTED] wrote: I get the same error if I write a wide string to std::cout via . Not exactly. For std::cout all of the wide strings would

Major problem with wide vs. normal strings in log messages

2008-05-22 Thread Dale King
CharMessageBuffer or std::ostream . I think all of these should probably be returning MessageBuffer which would allow it to switch to a WideMessageBuffer if I ever add a wide string, not just if the first string is wide. -- Dale King

Re: build head revision failed on windows xp

2008-05-15 Thread Dale King
654699 or remove the offending using namespace statements. -- View this message in context: http://www.nabble.com/build-head-revision-failed-on-windows-xp-tp17224117p17244432.html Sent from the Log4cxx - Users mailing list archive at Nabble.com. -- Dale King

Re: Filtering logging to separate files

2008-05-13 Thread Dale King
== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html == -- Dale King

Re: A few problems to report

2008-05-10 Thread Dale King
be cleaned up. On Fri, May 9, 2008 at 11:26 PM, Dale King [EMAIL PROTECTED] wrote: OK, I've figured out why the exception on control-C. The problem is Thread::join will throw a ThreadException if the apr_thread_join does not return a 0 status. But in the case of control-C the apr_thread_join

Re: A few problems to report

2008-05-09 Thread Dale King
PROTECTED] wrote: On May 7, 2008, at 1:28 PM, Dale King wrote: Any feedback on these issues? I submitted Jira issues on all 3. The threads not ending cleanly is a major problem with me trying to move one component of our system to Log4Cxx. I would at least like to get a patch

Re: A few problems to report

2008-05-09 Thread Dale King
, 2008 at 9:56 PM, Dale King [EMAIL PROTECTED] wrote: Ok, I have tried the latest in subversion and yes it works when the program exits normally including the annoying wait for the sleep to end. However it does not work when you end the program when you hit control-C. I get an exception

Re: Individual logging output of multiple objects to multiple files

2008-05-08 Thread Dale King
this???) and hence I experienced a lot of memory leaks. To my best knowledge MDC is also no alternative, since it does not allow for the restricted object-file logging. Is there any chance to achieve this logging behaviour with log4cxx? Thank you! Cheers Michael -- Dale King

Re: A few problems to report

2008-05-07 Thread Dale King
not found a complete solution and the fact that it behaves differently than the FileWatchdog thread is confusing. I'm willing to help out on it, but am interested in your thoughts on the threading issues since you wrote it. On Thu, May 1, 2008 at 10:59 PM, Dale King [EMAIL PROTECTED] wrote

Why are there unimplemented filters defined?

2008-05-01 Thread Dale King
as this will confuse someone that sees them in the documentation and tries to use them. -- Dale King

Re: Why are there unimplemented filters defined?

2008-05-01 Thread Dale King
; } else if (StringHelper::equalsIgnoreCase(s, LOG4CXX_STR(LOCAL1), LOG4CXX_STR(local7))) { return LOG_LOCAL7; } On Thu, May 1, 2008 at 11:22 AM, Curt Arnold [EMAIL PROTECTED] wrote: On May 1, 2008, at 9:45 AM, Dale King wrote: It looks like

A few problems to report

2008-05-01 Thread Dale King
FileWatchdog does not keep the app from exiting. I hope you're planning on a 0.10.1 version soon. -- Dale King

Rolling File appender with compression doesn't seem to work

2008-04-29 Thread Dale King
it. -- Dale King

Re: Rolling File appender with compression doesn't seem to work

2008-04-29 Thread Dale King
should really be: /wombat/folder/foo.%d On Tue, Apr 29, 2008 at 1:31 PM, Curt Arnold [EMAIL PROTECTED] wrote: On Apr 29, 2008, at 11:38 AM, Dale King wrote: I was testing out rolling file appenders (in Windows) which I set to rollover every minute so I can see what happens. Here

Re: Problem logging unicode MFC/ATL CString with LOG4CXX_* macros

2008-04-24 Thread Dale King
operation. -- Dale King [EMAIL PROTECTED]

Re: Line by line configuration

2008-04-23 Thread Dale King
=INFO What I would like to do is to read the lines from a database and provide it to log4cxx. Is there such a way, or do I need to read the lines from the database and create a (temporary) configFile which than has to be parsed by log4cxx again? Tnx Thomas -- Dale King

Re: MDC::put won't overwrite an existing value

2008-04-16 Thread Dale King
Jacob L. Anawalt [EMAIL PROTECTED]: Dale King wrote: MDC::put( key, value1 ); MDC::put( key, value2 ); Without a code example, I must ask; are these MDC::put calls in the same thread right next to each other? The attached program correctly swaps keys in 0.9.7. I don't have

Re: 2 issues found with 0.10.0-RC2

2008-03-10 Thread Dale King
your description, I have a feeling that the same thing is biting you. Ufuk Kayserilioglu [1] https://issues.apache.org/jira/browse/LOGCXX-246 Dale King wrote: It failed at compile time. For windows at least with unicode these names are actually #defines of the form

Re: 2 issues found with 0.10.0-RC2

2008-03-08 Thread Dale King
problem. From your description, I have a feeling that the same thing is biting you. Ufuk Kayserilioglu [1] https://issues.apache.org/jira/browse/LOGCXX-246 Dale King wrote: It failed at compile time. For windows at least with unicode these names are actually #defines of the form

2 issues found with 0.10.0-RC2

2008-03-06 Thread Dale King
it, it crashed the application. Probably should fail more gracefully. -- Dale King

Specify watchdog from config file

2008-03-06 Thread Dale King
to get that behavior is to modify your code to make it call configureAndWatch. So you cannot get this behavior when using the default mechanism to get the configuration file. You really should be able to specify this within the configuration file itself. -- Dale King

What is status of log4cxx and chainsaw

2008-03-06 Thread Dale King
=localhost log4j.appender.socketLogger.Port=4448 log4j.appender.socketLogger.locationinfo=true -- Dale King

Re: What is status of log4cxx and chainsaw

2008-03-06 Thread Dale King
=RemoteHost value=localhost/ param name=Port value=4448/ layout class=org.apache.log4j.XMLLayout param name=properties value=true/ param name=locationinfo value=true/ /layout /appender On Thu, Mar 6, 2008 at 9:57 PM, Dale King [EMAIL PROTECTED] wrote: What is the status