JBoss Community

Re: No log on shutdown command

created by kolesar in Beginner's Corner - View the full discussion

Hm,

I have found this in my jboss-log4 config file

 

   <!--

       | Logs these events to SNMP:

           - server starts/stops

           - cluster evolution (node death/startup)

           - When an EJB archive is deployed (and associated verified messages)

           - When an EAR archive is deployed

 

   <category name="org.jboss.system.server.Server">

     <priority value="INFO" />

     <appender-ref ref="TRAP_LOG"/>

   </category>

   ...

I'm try uncomment "org.jboss.system.server.Server" block, but I do not see any changes, any (new) log in server.log file.

 

Notes:

I started jboss as:

./run.sh -b 0.0.0.0 -c default -Dvisualization........ &

 

 

If I stoped jboss with command:

/bin/shutdown.sh -s tchilroec02:1099 > /dev/null 2>&1

In console (where I started run.sh script) I see log message:

Shutdown complete

Halting VM

 

but, in server.log does not any log about shuting jboss.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community