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,
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
>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
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
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
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
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.
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
-log4cxx-from-sca-component-tp44065.html
Sent from the Log4cxx - Dev mailing list archive at Nabble.com.
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
10 matches
Mail list logo