<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Thanks! The worst part is I saw that earlier and thought I fixed it.<br>
<br>
On 05/25/2012 04:31 PM, Ales Justin wrote:
<blockquote
cite="mid:95504C18-C2A5-4D68-84A6-36C9119A3614@gmail.com"
type="cite">
<div>You have a bug in ConfigFilter, it also picks up directories.</div>
<div>Recursing is already taken care by the VFS code,</div>
<div>the filter should just filter out actual leaves / files.</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://github.com/jbossas/jboss-as/pull/2387">https://github.com/jbossas/jboss-as/pull/2387</a></div>
<div><br>
<blockquote type="cite">
<div>Yes it's on by default, but you can turn it off by adding
a system <br>
property org.jboss.as.logging.per-deployment and setting it
to false.<br>
<br>
It shouldn't be that slow. I suppose we could limit the
search to <br>
specific directories, but from my tests it hasn't been too
slow.<br>
<br>
On 05/25/2012 02:38 AM, Ales Justin wrote:<br>
<blockquote type="cite">Is this on by default?<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">LoggingConfigurationProcessor<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite"> private VirtualFile
findConfigFile(ResourceRoot resourceRoot) throws
DeploymentUnitProcessingException {<br>
</blockquote>
<blockquote type="cite"> VirtualFile result = null;<br>
</blockquote>
<blockquote type="cite"> try {<br>
</blockquote>
<blockquote type="cite"> final
List<VirtualFile> configFiles =
resourceRoot.getRoot().getChildrenRecursively(ConfigFilter.INSTANCE);<br>
</blockquote>
<blockquote type="cite"> for (final VirtualFile
file : configFiles) {<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">As this looks slow ...<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">On May 25, 2012, at 12:13 AM, James
Perkins wrote:<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">Only if you add a
logging.properties file to your deployment. Once you<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">do that though, you can no longer
configure it via the management console.<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">I was working on a concept of
logging profiles that could be assigned to<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">deployments. Though that would
still require a change to the deployment.<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">It could be interesting to isolate
all deployment logging on-demand. Not<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">quite sure how it would work, but
I could see it being useful for debugging.<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">On 05/24/2012 03:00 PM, Ales
Justin wrote:<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">Can you already configure
loggers per deployment?<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">e.g. I want org.hibernate.search
at trace for my app, but not for the whole AS<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">If yes, how?<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">I mean, is there a better way
than adding the old TCCL filter hack I once helped to
write. :)<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">_______________________________________________<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">jboss-as7-dev mailing list<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite"><a moz-do-not-send="true"
href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite"><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">-- <br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">James R. Perkins<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">JBoss by Red Hat<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">_______________________________________________<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite">jboss-as7-dev mailing list<br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><a moz-do-not-send="true"
href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
</blockquote>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</blockquote>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">jboss-as7-dev mailing list<br>
</blockquote>
<blockquote type="cite"><a moz-do-not-send="true"
href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
</blockquote>
<blockquote type="cite"><a moz-do-not-send="true"
href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</blockquote>
<br>
-- <br>
James R. Perkins<br>
JBoss by Red Hat<br>
<br>
_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</div>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
jboss-as7-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
James R. Perkins
JBoss by Red Hat</pre>
</body>
</html>