Red Hat Bugzilla – Bug 814152
[eap6] logging - adding console/file handler
Last modified: 2015-11-01 19:42:50 EST
Description of problem: It is not possible to add or remove console handler
Version-Release number of selected component (if applicable):
Build Number: a5e442c
Steps to Reproduce:
1.import EAP6 in standalone mode
2.go to logging->CONSOLE resource, operations
3.add new called "MY"
java.lang.Exception: JBAS014803: Duplicate resource [
("subsystem" => "logging"),
("console-handler" => "CONSOLE")
same applies to adding FILE handler
Expected results: new handler is added
Additional info: Is there any special reason why file handler can be added only via an operation on another file handler resource? This way it is possible to remove the last handler and then not being able to add it back anymore. If it is possible we could switch to 'Create Child' way or at least move operation to 'logging' subsystem resource.
The original issue with CONSOLE was fixed earlier this morning. The operations were removed for the logging types and instead modifiable via Create/Delete child operations.
There is still an issue with File type. Working on that now.
Both of these should be fixed with this commit to master 16f2db3d262eb05a5ca, BUT there is a problem with the File handler(https://bugzilla.redhat.com/show_bug.cgi?id=782506) where handlers that use files should be showing that the file type is required in the configuration editor but they currently are not.
This means that until this is fixed, tests of the following handlers that attempt to update, add or modify configurations with File Handler, Periodic Rotating File Handler and Size Rotating File Handler should only be done by specifying the required file parameters.
All fixes for this bz are in master.
Additionally the filter type should not be used when testing out Logging Handlers as there is an issue writing the type data back to the AS7 servers. See the following issues for details:
Moving this to ON_QA as the original issues raised have been addressed. Will file additional BZ's for new issues.
Bulk closing of BZs that have no target version set, but which are ON_QA for more than a year and thus are in production for a long time.