aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss custom log location confguration" Watch "JBoss custom log location confguration" New topic
Author

JBoss custom log location confguration

chanzeb cecak
Greenhorn

Joined: Jun 04, 2013
Posts: 5
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 !!!)
<profiles>
<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
...
</periodic-rotating-file-handler>
</subsystem>
...
</profile>
...
</profiles>

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

handler.FILE.fileName=${org.jboss.boot.log.file:/tmp/logs/boot.log},

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.!!!
Sincerely,
KK
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss custom log location confguration
 
Similar Threads
server.log in JBoss 6
java.lang.NoClassDefFoundError
run.sh and run.conf configuration in JBoss
Rolling Tomcat Logs
Application logging in JBoss 6