-
1. Re: No log on shutdown command
wdfink Apr 17, 2012 8:54 AM (in response to kolesar)What version do you use?
Does the JBoss goes down or continue processing?
If you use 'kill <PID>' the server shutdown correctly?
Maybe you loggging spprss the message.
-
2. Re: No log on shutdown command
kolesar Apr 17, 2012 8:58 AM (in response to wdfink)Thanks for replay,
Version 4.2.2
Succesifully down
But, I want message in log. That message is necessary for me.
-
3. Re: No log on shutdown command
wdfink Apr 17, 2012 10:39 AM (in response to kolesar)check whether you set 'org.jboss.system.server.Server' to the appropriate logging level, that should be work.
-
4. Re: No log on shutdown command
kolesar Apr 19, 2012 9:57 AM (in response to wdfink)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.