Java Logging for Lazy Dogs

Glassfish (http://glassfish.dev.java.net) offers you pretty comfortable way how to control logging. You can find it in it's admin console and Fabian already described what to do to get some fancy logs out of e.g. WS-Policy WSIT framework there in his blog).

However, there is yet another way to configure logging levels for non-glassfish environment.
Simply edit your $JAVA_HOME/jre/lib/logging.properties file.

And if you do not mind you will be overwhelmed with bunch of different logs, just do what I use
to do when want to get some logging stuff quickly and use the following two lines in your logging.properties file:


.level=FINEST
java.util.logging.ConsoleHandler.level=FINEST

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Jakub Podlesak

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today