users@glassfish.java.net

Correct way to get domain logs path

From: Paulo Cesar Silva Reis <casmeiron_at_gmail.com>
Date: Thu, 19 Mar 2009 11:27:58 -0300

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.