GlassFish gem versions before 0.9.3 logged all the messages on console. With version 0.9.3 we started always logging
it in files. This became in-convenient for many as logging on console can be helpful during development/testing.
Also see Issue:
http://rubyforge.org/tracker/index.php?func=detail&aid=24633&group_id=5450&atid=21080
what would be more appropriate is that anyone running
'glassfish -l' will get to see messages on console. Here -l takes file argument. In this case no filename would mean
console.
The fix will go in next gem release.
In the meanwhile, here is how you can log to console
* Run 'glassfish' once
* edit tmp/.glassfish/config/logging.properties file
First set handler to ConsoleHandler
handlers=java.util.logging.ConsoleHandler
then comment ConsoleHandler.level
#java.util.logging.ConsoleHandler.level=SEVERE
Now run glassfish and all the messages will be logged to console. To get back old behavior add the followin back:
java.util.logging.ConsoleHandler.level=SEVERE
|