users@glassfish.java.net

GF log directory

From: Paulo Reis <casmeiron_at_gmail.com>
Date: Tue, 10 Nov 2009 17:00:03 -0200

Hi,

I want to know how can I get the log directory inside my app? Example, I
want to append a log file named Œmy_log.logı inside the same folder that
contains the server.log so in my app I do somethinı like:

logger.addHandler(new FileHandler( ³my_log.log² ));

So my question is: Where this log will be generated? If not inside the
/domains/domain_name/logs how can I reference it?

Thanks.