users@glassfish.java.net

How Do I Reference the instanceRoot?

From: <glassfish_at_javadesktop.org>
Date: Sat, 08 Nov 2008 09:37:47 PST

I installed a custom logger, and noted it writes the log to ${instanceRoot}/config/custom.log. I modified the code to write the logger as follows:

FileHandler("../log/custom.log")

However how do I look up the instanceRoot so I could do something as such:

FileHandler($instanceRoot + "log/custom.log")

I'm sure I've done this before, I just can't remember how.

Thanks in advance,

Adam
[Message sent by forum member 'acehlis' (acehlis)]

http://forums.java.net/jive/thread.jspa?messageID=315622