File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss custom log location confguration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss custom log location confguration" Watch "JBoss custom log location confguration" New topic

JBoss custom log location confguration

chanzeb cecak

Joined: Jun 04, 2013
Posts: 6

Hello all experts !!
I wanted to know if you were able to figure out how to configure a custom location for the boot.log and host-controller.log & process-controller.log files?

I configured my Server.log location in JBOSS_HOME/domain/configuration/domain.xml And it WORKS !!!)
<profile name="default">
<subsystem xmlns="urn:jboss:domain:logging:1.1">
<periodic-rotating-file-handler name="FILE">
<file relative-to="custom.jboss.server.log.dir" path="/tmp/logs/server.log"/> # server.log name is defined here

For host-controller.log and process-controller.log , i made changes in the file and it works fine
BUT BUT as soon as i touch to change boot.log location , i made the change in the JBOSS_HOME/domain/configuration/


the process and host log files disappear.

Im really hoping someone can help me figure this one out...

Any help in figuring this out is monumentally appreciated.!!!
I agree. Here's the link:
subject: JBoss custom log location confguration
jQuery in Action, 3rd edition