Java Virtal

[ News ] rss

February 01, 2011

Mark Wielaard: New GPG key. Finally created a new GPG key using gnupg. The old one was a DSA/1024 bits one and 8 years old. The new one is a RSA/2048 bits one. I will use the new one in the future to sign any release tarballs I might create. pub 2048R/57816A6A 2011-01-29 Key f...

More »

February 01, 2011

Andrew Hughes: [SECURITY] IcedTea6 1.7.8, 1.8.5, 1.9.5 Released!. We are pleased to announce a new set of security releases, IcedTea6 1.7.8, IcedTea6 1.8.5 and IcedTea6 1.9.5. This update contains the following security updates: The IcedTea project provides a harness to build the source code from OpenJDK6 u...

More »

9101112 131415

[ Archives News
for 'Java Technology' ]

home > news > java technology > latest functionality in glassfish v3 logging.

Latest functionality in GlassFish v3 logging.

This blog highlights some of the changes that are part of GlassFish v3 logging.  Since Prelude I have added 3 asadmin commands related to logging. The new commands are:     * asadmin rotate-log     * asadmin list-logger-levels     * asadmin set-log-level --level level logger-name The first command rotates the log files immediately.  Users can now use natvie scheduling software such as cron to rotate the logs.  We still support rotating logs based on file size or elapsed time since the last log rotation and this new command allows more flexibility when rotating log files.  The second command lists the loggers and their current level.  This command reports on all the known loggers that are listed in file.  Note that in some cases the loggers may not have been created by the respective containers however they will still appear in the list. The third command,  asadmin set-log-level, sets the level for a logger.   For example, to set the log level of the web container logger level to WARNING  simply type:  asadmin set-log-level --level WARNING javax.enterprise.system.container.web. This command updates the file which means that the values are presisted across server restart.  Use asadmin list-logger-levels  to get the names of the loggers. Finally, I've added a property to logging.p...

Date: September, 02 2009

Others News

© nl | web editor | static website generator | top web builder | bootstrap button styles