Hide Forgot
Log level change during installation will affect only standalone.xml and domain.xml. Other standalone profiles (standalone-full.xml, standalone-ha.xml and standalone-full-ha.xml) are left with out-of-box logging configuration. There is also periodic-rotating-file-handler in out-of-box logging configuration, it would be nice to have chance to configure also this one. Version-Release number of selected component (if applicable): EAP 6.2.0.ER1 Additional info: This is a new feature in EAP 6.2.0
Hello Petr, The other files will have their logging settings changed as well. About the rotating log, Let's see how easy adding the config for this is. Which config options should we offer up for configuration? I see this: <periodic-rotating-file-handler name="FILE" autoflush="true"> <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> but we'd need to define which of these values are good to offer up for configuration. The pattern-formatter element, for example, seems like it would require a lot of new validation work for any custom value. Thanks, Tom
Hi Tom, yes I agree with you on this. I also looked to config file and periodic-rotating handler uses the default logging level (ALL) and once default option is used, it is, in most of cases, not reflected to xml file. I guess we can go on with configuration of root logger and console logger only. Petr
How about standalone-osgi.xml?
AFAIK this one is not supported anymore. I will get more info on this and let you know next week.
Fix applied in branch with commitid 27d1869a24eb257693d9df589b71b1465ac3803a. If we want standalone-osgi.xml to be modified as well that can be added with minimal effort.
It's OK to go on without OSGI.
Please move all BZs ready for verification to ON_QA once the target milestone was released, thanks. Verified on EAP 6.2.0.ER3