On Mon, 12 Apr 2010 19:06:46 +0530, Dileep Nayak <> wrote:
> Hi ,
> When this error occurred?
>
>
> *log4cplus:ERROR No appenders could be found for logger (error).
> log4cplus:ERROR P
> Please initialize the log4cplus system properly.”*
The warning is produced by LoggerImpl::callAppenders(). It is triggered
when you try to log something and there are not any appenders attached in
the hierarchy on the way from the particular logger to the rootLogger. Not
even your rootLogger has any appenders attached to it. IOW there is nowhere
to log the message to, it is lost.
--
VH
|