<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Kirk,<br>
<br>
To select what should be logged there should be logging modules. A
module could be for example class loading, gc, jit compiler etc. The
logging level is just a way to control how much logging you want.
Setting gc=info would give you some basic gc logging while gc=debug
would give you more detailed info.<br>
<br>
A typical command line could look like<br>
<pre><code>
-Xverbose:gc=debug,finalizer=info,compiler,alloc,cookies=trace</code></pre>
/Jesper<br>
<br>
<br>
On 2012-06-19 23:44, Kirk Pepperdine wrote:
<blockquote
cite="mid:25BA359D-58E7-48F3-9575-E555A31FE3C2@kodewerk.com"
type="cite">Hi,
<div><br>
</div>
<div>I see the logging framework JEP finally was published. This
is great news.</div>
<div><br>
</div>
<div>I'd like to comment on this quality</div>
<div><br>
</div>
<div><span style="color: rgb(0, 0, 0); font-family: 'Bitstream
Vera Sans', 'Luxi Sans', Verdana, Arial, Helvetica; font-size:
14px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 13px; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; display: inline !important; float: none; ">"Logging is
performed at different levels: error, warning, info, debug,
trace"</span></div>
<div><span style="color: rgb(0, 0, 0); font-family: 'Bitstream
Vera Sans', 'Luxi Sans', Verdana, Arial, Helvetica; font-size:
14px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 13px; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; display: inline !important; float: none; "><br>
</span></div>
<div><span style="color: rgb(0, 0, 0); font-family: 'Bitstream
Vera Sans', 'Luxi Sans', Verdana, Arial, Helvetica; font-size:
14px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 13px; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; display: inline !important; float: none; "><span
class="Apple-style-span" style="font-family: Helvetica;
line-height: normal; font-size: medium; ">If we accept the
problems associated with level based logging, these name
work for generic frameworks such as Log4J and JDK logging.
However, the names are meaningless in that they carry no
semantic context with what would be logged. The nice thing
about the current set of flags is they convey the
information that will be printed.</span></span></div>
<div><span style="color: rgb(0, 0, 0); font-family: 'Bitstream
Vera Sans', 'Luxi Sans', Verdana, Arial, Helvetica; font-size:
14px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 13px; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; display: inline !important; float: none; "><span
class="Apple-style-span" style="font-family: Helvetica;
line-height: normal; font-size: medium; "><br>
</span></span></div>
<div><span style="color: rgb(0, 0, 0); font-family: 'Bitstream
Vera Sans', 'Luxi Sans', Verdana, Arial, Helvetica; font-size:
14px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 13px; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; display: inline !important; float: none; "><span
class="Apple-style-span" style="font-family: Helvetica;
line-height: normal; font-size: medium; ">On the question of
log levels. I was hoping that we would have learned from the
follies of using level based logging instead of a digital or
tag based system. IOWs a on or off different aspects without
having to eat the whole elephant of records that some
developer arbitrarily decided should be dumped at a
particular log level. One can level tags.. but you can't get
tags or digital behaviour from levels.</span></span></div>
<div><span style="color: rgb(0, 0, 0); font-family: 'Bitstream
Vera Sans', 'Luxi Sans', Verdana, Arial, Helvetica; font-size:
14px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 13px; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; display: inline !important; float: none; "><span
class="Apple-style-span" style="font-family: Helvetica;
line-height: normal; font-size: medium; "><br>
</span></span></div>
<div><span style="color: rgb(0, 0, 0); font-family: 'Bitstream
Vera Sans', 'Luxi Sans', Verdana, Arial, Helvetica; font-size:
14px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 13px; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; display: inline !important; float: none; "><span
class="Apple-style-span" style="font-family: Helvetica;
line-height: normal; font-size: medium; ">Kind regards,</span></span></div>
<div><span style="color: rgb(0, 0, 0); font-family: 'Bitstream
Vera Sans', 'Luxi Sans', Verdana, Arial, Helvetica; font-size:
14px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: 13px; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; display: inline !important; float: none; "><span
class="Apple-style-span" style="font-family: Helvetica;
line-height: normal; font-size: medium; ">Kirk Pepperdine</span></span></div>
</blockquote>
</body>
</html>