You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by Andreas Fester <af...@apache.org> on 2006/03/15 20:41:46 UTC

Re: TimeBasedRollingPolicy, get it running

Matthew Campbell wrote:
> UGH your right mine says, its been a while so I probaly just forgot
> that I changed it. It seems log4cxx is rough around the edges
> sometimes.
> 
>           DECLARE_LOG4CXX_OBJECT(TimeBasedRollingPolicy)
> Double checked svn head, and your right it says
>    DECLARE_ABSTRACT_LOG4CXX_OBJECT(TimeBasedRollingPolicy)

I dont see any reason why TimeBasedRollingPolicy should be
declared as "abstract" class. See
http://issues.apache.org/jira/browse/LOGCXX-131
Fix is now in SVN head.

Regards,

	Andreas

> 
> On 3/15/06, Rainer Schuetze <sc...@geoinform.fh-mainz.de> wrote:
> 
>>Hi,
>>
>>I changed the declaration of the TimeBasedRollingPolicy as
>>-    DECLARE_ABSTRACT_LOG4CXX_OBJECT(TimeBasedRollingPolicy)
>>+    DECLARE_LOG4CXX_OBJECT(TimeBasedRollingPolicy)
>>and the logger works fine for me.
>>
>>Is the CVS not Up-to-Date or what is the reason to declare
>>TimeBasedRollingPolicy as abstract?
>>
[...]