<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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 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 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 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 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 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 href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br></blockquote><blockquote type="cite"><a 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 href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></div></blockquote></div><br></body></html>