Re: using log4cxx from sca component

2014-02-08 Thread Thorsten Schöning
Guten Tag Nandan S, am Samstag, 8. Februar 2014 um 11:39 schrieben Sie: > I have tried using c:\\properties.xml too. Then use Process Monitor to log file system activity and search for your file name. If it is found you can see where your application looks for it and recognize why it isn't used,

Re: using log4cxx from sca component

2014-02-08 Thread Thorsten Schöning
Guten Tag Nandan S, am Samstag, 8. Februar 2014 um 11:16 schrieben Sie: > I am still thinking of this and not sure, how can i achieve filename and > line number to be printed correctly. You need to make your wrapper capable of providing this information to LOG4CXX core. I created a simple wrapper

Re: using log4cxx from sca component

2014-02-08 Thread Nandan S
>Not accepted or not found or what? c:\properties.xml would be wrong in >any case, you will need at least c:\\properties.xml, recognize the >double \. I have tried using c:\\properties.xml too. -- View this message in context: http://apache-logging.6191.n7.nabble.com/using-log

Re: using log4cxx from sca component

2014-02-08 Thread Thorsten Schöning
Guten Tag Nandan S, am Samstag, 8. Februar 2014 um 11:16 schrieben Sie: Please read the following link before your next answer, it makes it easier for others to follow your mails. https://www.netmeister.org/news/learn2quote.html > DOMConfigurator::Configure("c:\properties.xml"), file name is not

RE: using log4cxx from sca component

2014-02-08 Thread Nandan S
I have tried by passing hard coded absolute and relative path too. Both of them don't work. I have tried other over loaded methods configureAndWatch() too, does not work. Nandan -- View this message in context: http://apache-logging.6191.n7.nabble.com/using-log4cxx-from-sca-comp

Re: using log4cxx from sca component

2014-02-08 Thread Nandan S
with that. Even if i pass a hard coded path like DOMConfigurator::Configure("c:\properties.xml"), file name is not accepted. Not sure, what's going wrong here. -- View this message in context: http://apache-logging.6191.n7.nabble.com/using-log4cxx-from-sca-component-tp44065

RE: using log4cxx from sca component

2014-02-07 Thread chand priyankara
from sca component Guten Tag Shantharaj, Nandan, am Donnerstag, 6. Februar 2014 um 15:13 schrieben Sie: > Requirement in our application was to create a wrapper > around log4cxx functionality, so that in future any other logging > functionality can be used instead of log4cxx.

Re: using log4cxx from sca component

2014-02-06 Thread Thorsten Schöning
Guten Tag Shantharaj, Nandan, am Donnerstag, 6. Februar 2014 um 15:13 schrieben Sie: > Requirement in our application was to create a wrapper > around log4cxx functionality, so that in future any other logging > functionality can be used instead of log4cxx. You will loose some of the be

using log4cxx from sca component

2014-02-06 Thread Nandan S
-log4cxx-from-sca-component-tp44065.html Sent from the Log4cxx - Dev mailing list archive at Nabble.com.

using log4cxx from sca component

2014-02-06 Thread Shantharaj, Nandan
I have created a sample application with log4cxx and it works great. = #include #include using namespace log4cxx; using namespace log4cxx::xml; using namespace log4cxx::helpers; // Define static logger variable LoggerPtr loggerMyMain(Logger::ge