[JBoss JIRA] Created: (AS7-1267) Can't set "append" attribute on file handlers
by Stan Silvert (JIRA)
Can't set "append" attribute on file handlers
---------------------------------------------
Key: AS7-1267
URL: https://issues.jboss.org/browse/AS7-1267
Project: Application Server 7
Issue Type: Bug
Components: Logging
Affects Versions: 7.1.0.Alpha1
Reporter: Stan Silvert
Assignee: David Lloyd
I can't tell what is really happening here. It seems to parse the "append" attribute OK, but it doesn't show up in the CLI. I've also set it programmatically in the console code, but I never get a value back for it.
<periodic-rotating-file-handler name="FILE">
<level name="INFO"/>
<formatter>
<pattern-formatter pattern="%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n"/>
</formatter>
<file relative-to="jboss.server.log.dir" path="server.log"/>
<suffix value=".yyyy-MM-dd"/>
<append value="true"/>
</periodic-rotating-file-handler>
[standalone@localhost:9999 /] /subsystem=logging/periodic-rotating-file-handler=FILE:read-resource
{
"outcome" => "success",
"result" => {
"autoflush" => true,
"encoding" => undefined,
"file" => {
"path" => "server.log",
"relative-to" => "jboss.server.log.dir"
},
"formatter" => "%d{HH:mm:ss,SSS} %-5p [%c] (%t) %s%E%n",
"level" => "INFO",
"suffix" => ".yyyy-MM-dd"
}
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (AS7-885) Not all operations in logging subsystem have an operation-name attribute and reply-, request-properties
by Heiko Rupp (JIRA)
Not all operations in logging subsystem have an operation-name attribute and reply-,request-properties
------------------------------------------------------------------------------------------------------
Key: AS7-885
URL: https://issues.jboss.org/browse/AS7-885
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Reporter: Heiko Rupp
[standalone@localhost:9999 console-handler=CONSOLE] :read-resource-description
...
"remove" => {"description" => "Remove an existing logging handler."},
"disable" => {"description" => "Disable a logging handler."},
"enable" => {"description" => "Enable a logging handler."},
While the name can be deduced from the key, it is present in many(all?) other subsystem operations and should be available here as well.
The operations listed also have no request-properties and reply-properties sections
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (LOGTOOL-21) Add mechanism to pass parameters to exception constructors
by David Lloyd (JIRA)
Add mechanism to pass parameters to exception constructors
----------------------------------------------------------
Key: LOGTOOL-21
URL: https://issues.jboss.org/browse/LOGTOOL-21
Project: Log Tool
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: David Lloyd
Assignee: James Perkins
Fix For: 1.0.0.Beta8
We need a parameter annotation which allows log methods to pass additional parameters to the constructor of exceptions. Something like {{@Param}}. It would exclude that parameter from the list and instead apply those values to non-cause, non-message parameters of the constructor.
For the purposes of resolution, assume the message parameter is the left-most String and the cause parameter is the left-most Throwable or subtype thereof.
Parameters should be order-matched first, then type-matched to resolve ambiguity, throwing an exception if there is no unambiguous solution. The {{@Param}} annotation should allow an optional class name to be specified which would have to match the exact type of the parameter in question, to enable unambiguous resolution in this case.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months