help...
On Thu, May 21, 2009 at 10:53 AM, Mehrwash Faruqi wrote:
>
>
>
> Can i somehow be notified if a file has been logged..
> like for eg: the configureandwatch() method reloads the conf. if there has
> been a change to it... somehow can i get any signal if the log file has been
> renamed or r
Well, I'm fairly new to log4cxx, but I do think that you should be able to
see what's wrong with the parsing of the configuration file by putting the
following line at the top:
log4j.debug=true
On Fri, May 22, 2009 at 10:23 AM, deepak singh wrote:
> Hi,
>
> I am using property file to configur
OK, I've figure it out. the method: activateOption() must be called
after setting. Codes as follows and sorry for buzzing.
Eric Liang wrote:
> Hi, all
> I'm just using log4cxx . It works well but the roll && backup functions.
>
> Here is the test codes:
>
> #include
> #include
> #include
> #in
Hi, all
I'm just using log4cxx . It works well but the roll && backup functions.
Here is the test codes:
#include
#include
#include
#include
int main()
{
std::string loggerName="TESTER";
log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger( loggerName );
logger->setLevel(log4c
Hi,
I am using property file to configure the log4cxx. I am not able to check
the correctness of the input file.
I tried the try, catch but PropertyConfigurator::configure function is not
throwing any exception.
I passed the dummy property file and in this case configure file printing
followi