logging - JBoss 7: Equivalent to jboss-log4j.xml -
logging - JBoss 7: Equivalent to jboss-log4j.xml -
i don't want configure logging using standalone.xml or cli, because requires additional steps colleagues working development environment. want have these configuration files checked in our source code , automatically applied @ deployment time.
with jboss 5 there possibility declare logging in jboss-log4j.xml. there equivalent file in jboss 7, too?
we want utilize slf4j , logback.
you can add together logback configuration application. need include logback in application. might have utilize jboss-deployment-structure.xml, similar log4j exclusion one, exclude org.slf4j
module. configure logging application though.
if you're concern getting logging subsystem configured there couple other possibilities work depending on environment.
the first , 1 work environment create cli script checked in , run.
${jboss_home}/bin/jboss-cli.sh --connect --file path/to/script.cli
if you're using maven sec possibility utilize maven plugin. can execute cli commands plugin. add together execute-commands
goal run before deploy goal runs.
logging jboss7.x slf4j
Comments
Post a Comment