Custom Appender

2005-09-28 Thread Ron Ohmer
I am having an oddity in Visual Studio with my new appender.. Just curious if anyone has had something like this. Here are the final 3 errors.. rollingfileappender.obj : error LNK2019: unresolved external symbol "public: void __thiscall log4cxx::rolling::RollingPolicyBase::setFileNamePattern(c

Custom Appender

2009-05-07 Thread david . weber
Hello all, I was just doing some googling, trying to find information on a custom appender. We basically want to have a portion of our software called with the log data, whenever a log message destined for a particular logger is called. I found some information about people asking questions

Custom Appender

2011-03-22 Thread Yusuf Cinar
Hi I am trying to write a custom appender following VectorAppender, here http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/test/cpp/vectorappender.h?view=co, as an example. However, I am getting an error when calling my custom Appenders constructor: undefined reference to `log4cxx

Re: Custom appender

2004-12-14 Thread Curt Arnold
. As you said OStream *os will be removed very soon so is there any other way by which I can get the logging string in a custom appender?? It has already been removed in the CVS and it is trivial to get the formatted logging message by overriding WriterAppender::subAppend(const LogString&

RE: Custom Appender

2005-09-28 Thread Ron Ohmer
Title: log4cxx 0.9.8 Disregard..  I just figured it out..  DH My project was missing some things..     From: Ron Ohmer [mailto:[EMAIL PROTECTED]Sent: Wed 9/28/2005 9:19 PMTo: Log4CXX UserSubject: Custom Appender I am having an oddity in Visual Studio with my new appender

Re: Custom Appender

2011-03-23 Thread Curt Arnold
First. it would be best for you to define your custom appenders in a namespace other than log4cxx. Second, you declare a constructor, destructor and close method for VirtualAppender, but you did not provide an implementation. Unless you compiled and linked in a file that looked like: #include

Custom Appender Issue

2011-08-04 Thread Donetti, John G.
I am attempting to add a simple custom appender to my code. I have been able to compile the appender, however, I cannot get the logger to find the new appender. I get the error: log4cxx: Could not create an Appender. Reported error follows. log4cxx: Class not found: bgsyslogging

custom appender & .properties file

2005-01-12 Thread Matt Funk
Hello, I've created a custom appender, CustomConsoleAppender, and built it into the log4cxx library. It works fine if I add my appender to the root logger through code. However, when I add my appender to the .properties file, the appender isn't created. Another appender in the prope

RE: Custom Appender Issue

2011-08-04 Thread Greg Powell
gsyslogging::AppWindowAppender::AppWindowAppender() { } bgsyslogging::AppWindowAppender::~AppWindowAppender() {} ... Regards, Greg P. From: Donetti, John G. [mailto:donet...@llnl.gov] Sent: Thursday, August 04, 2011 3:51 PM To: log4cxx-user@logging.apache.org Subject: Custom Appender Issu

Re: custom appender & .properties file

2005-01-12 Thread Curt Arnold
The most likely thing is a problem with the registration of the custom appender. There is a lot to be desired in the static initialization of 0.9.7, so you might see if the problem goes away with the current CVS. The likely problem is either a failure to register your custom appender in

RE: Can't find custom appender

2010-11-18 Thread Rob Outar
I created a custom appender that extends RollingFileAppender, my class is located in a "test" namespace and the class name is TestAppender, in my xml file I have: But when I run, log4cxx says it cannot find appender. what am I missing? Best regards, Rob

Re: Can't find custom appender

2010-11-19 Thread Curt Arnold
registration? On Nov 18, 2010, at 2:01 PM, Rob Outar wrote: > I created a custom appender that extends RollingFileAppender, my class is > located in a “test” namespace and the class name is TestAppender, in my xml > file I have: > > > > But when I run, log4cx

RE: Can't find custom appender

2010-11-19 Thread Rob Outar
have saved me a few days of random guessing. --Rob -Original Message- From: Curt Arnold [mailto:curt.ar...@gmail.com] On Behalf Of Curt Arnold Sent: Friday, November 19, 2010 8:45 AM To: Log4CXX User Subject: Re: Can't find custom appender The likely suspect is that your appender i

log4cxx-0.10.0 - adding a custom appender

2007-12-02 Thread Ashfaque
Hi, I am trying to add a custom appender using version 0.10.0 of log4cxx. But I am receiving the following linker errors. Can anyone help me out in resolving these errors? Error 25 error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual bool __thi

Sending Byte Array to a custom appender.

2005-01-25 Thread Kadarkarai, Prabhakar \(Prabhakar\)
Hello All,   Can I send BYTE array instead of basic string using Log4Cxx to a custom appender. If so, how? Any example would be obliged.   Thanks, PK

Re: log4cxx-0.10.0 - adding a custom appender

2007-12-02 Thread Ashfaque
virtual void reset(); }; carnold-3 wrote: > > > On Dec 2, 2007, at 11:33 PM, Ashfaque wrote: > >> >> Hi, >> >> I am trying to add a custom appender using ve

Re: log4cxx-0.10.0 - adding a custom appender

2007-12-02 Thread Curt Arnold
On Dec 2, 2007, at 11:33 PM, Ashfaque wrote: Hi, I am trying to add a custom appender using version 0.10.0 of log4cxx. But I am receiving the following linker errors. Can anyone help me out in resolving these errors? Error 25 error LNK2019: unresolved external symbol "__dec

Custom appender (was Re: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin))

2004-12-06 Thread Curt Arnold
Was this related to MinGW thread? I didn't appear to be so I've changed the subject. First, let me warn you that there are major changes forthcoming in the CVS that will significantly impact appenders. I hope to have those committed in the CVS within the week. Without more details on the nat

RE: Custom appender (was Re: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin))

2004-12-07 Thread Prosenjit Sinha
rnold [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 12:34 AM To: Log4CXX User Subject: Custom appender (was Re: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin)) Was this related to MinGW thread? I didn't appear to be so I've changed the subject. First, let me warn yo

Re: Custom appender (was Re: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin))

2004-12-07 Thread Curt Arnold
On Dec 7, 2004, at 6:20 AM, Prosenjit Sinha wrote: Thanx Curt, The appender class which I am going to create will only be used for obtaining the logging string from the OStream *os variable(I have found out only this mechanism by which I can get the logging string in my own classis there any o

RE: Custom appender (was Re: Building log4cxx 0.9.7 with MinGW and MSYS (no cygwin))

2004-12-14 Thread Prosenjit Sinha
very soon so is there any other way by which I can get the logging string in a custom appender?? Also please tell me is there any way by which at run time we can block an appender which is attached to the Root Logger. Regards Prosenjit Sinha Project Engineer -Original Message