users@glassfish.java.net

FW: Correct way to get domain logs path

From: Paulo Cesar Silva Reis <casmeiron_at_gmail.com>
Date: Thu, 19 Mar 2009 18:59:16 -0300

This is the correct way to ask this kind of question?

Thanks.
------ Forwarded Message
From: Paulo Cesar Silva Reis <casmeiron_at_gmail.com>
Date: Thu, 19 Mar 2009 11:27:58 -0300
To: "users_at_glassfish.dev.java.net" <users_at_glassfish.dev.java.net>
Subject: Correct way to get domain logs path

Hi,
I am trying to get (inside an application deployed by ear file) the logs
path (log-root attribute on domain.xml file) to create a personal log on
that directory.

The reason that I am using personal logs defined on application instead of
domain.xml is that I couldnšt find a way to create a new log-service on
domain.xml using something like Œuse-parent-handlers=falseš as I can do
calling logger.setUseParentHandlers(false), I donšt want to have server logs
on those files.

Anyone knows how to do that? (both way)

Thanks.

------ End of Forwarded Message