This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss custom log location confguration

 
chanzeb cecak
Greenhorn
Posts: 6
Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic