IT is Fun

May 28, 2011

Glassfish – Set maximum server.log files rotation

Filed under: Glassfish — themamakcorner @ 1:50 pm

When running the Glassfish, the server.log will be generated at <glassfish installation path>/domains/domain1/logs and will be using up alot of your hard drive.

One of the way to control the number of log files rotation will be as follow:

(1) Log in to your Glassfish admin (generally http://localhost:4848)

(2) Application Servers –> Logging –> General

(3) Scroll and insert the following

com.sun.enterprise.server.logging.max_history_files

(4) Restart the glassfish

Advertisement

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Banana Smoothie. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.