>
> One thing that's "unusual" - using the root logger.
> It's generally
> recommended to use the getLogger method and name
> your loggers with the class
> FQCN, else you lose much of the power of Log4j (see
> http://logging.apache.org/log4j/docs/manual.html).
>
Hi
I�ve been reading the doc again and now I see the
light :)
Then my application now use this:
------------
private static Logger logger =
Logger.getLogger("AplicacionA.class");
PropertyConfigurator.configure("aprop.properties");
logger.info("Entering application.");
--------------
Now I�ve a new problem (partially solved): if I not
pass a full path to configure method, it can't find my
properties file.
It�s normal this ?
How could I get the current application path ? (I
could imagine writeing a file and getting a path, but
I want to know if there are a more "sophisticated"
method..).
Thanks in advance
Javier
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]