[
https://issues.jboss.org/browse/AS7-4206?page=com.atlassian.jira.plugin.s...
]
James Perkins commented on AS7-4206:
------------------------------------
Currently the category is the path. It could make sense to use replace spaces with a filer
like a dash and use a category attribute for the actual logging category.
Logger category cannot have spaces
----------------------------------
Key: AS7-4206
URL:
https://issues.jboss.org/browse/AS7-4206
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.1.1.Final
Environment: Windows 7 Professional 64-bit; jdk1.7.0_03
Reporter: Scott Van Wart
Assignee: James Perkins
Priority: Minor
I edited <JBOSS_HOME>/standalone/configuration/standalone.xml to suppress
AspectJ's weaver output:
<server xmlns="urn:jboss:domain:1.2">
<profile>
<subsystem xmlns="urn:jboss:domain:logging:1.1">
<logger category="AspectJ Weaver">
<level name="WARN" />
</logger>
</subsystem>
</profile>
</server>
I get the following stacktrace on startup:
20:51:48,478 ERROR [org.jboss.as.server] JBAS015956: Caught exception during boot:
org.jboss.as.controller.PathElement$OperationClientIllegalArgumentException:
JBAS014719: Invalid value specification AspectJ Weaver at
org.jboss.as.controller.PathElement.<init>(PathElement.java:91)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.PathAddress.pathAddress(PathAddress.java:95)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.ParsedBootOp.<init>(ParsedBootOp.java:52)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.ParsedBootOp.<init>(ParsedBootOp.java:47)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.ModelControllerImpl.organizeBootOperations(ModelControllerImpl.java:207)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:146)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:190)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.ServerService.boot(ServerService.java:291)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.as.server.ServerService.boot(ServerService.java:266)
[jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155)
[jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira