wildfly/jboss 日志种类有如下几种:
1、domain模式下:
host-controller.log?
记录涉及到domain 启动域控制器的信息日志,如下:
17:03:36,075 INFO [org.jboss.modules] (main) JBoss Modules version 1.1.1.GA
17:03:36,240 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.2.GA
17:03:36,316 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
17:03:36,884 INFO [org.xnio] (MSC service thread 1-5) XNIO Version 3.0.3.GA
17:03:36,915 INFO [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.0.3.GA
17:03:36,943 INFO [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 3.2.3.GA
17:03:38,027 INFO [org.jboss.as] (Controller Boot Thread) JBAS010902: Creating http management service using network interface (management) port (9990) securePort (-1)
17:03:38,047 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /10.19.222.53:9999
17:03:38,161 INFO [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010922: Starting server server-one
17:03:38,195 INFO [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010922: Starting server server-two
17:03:38,206 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on?http://10.19.222.53:9990
17:03:38,207 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" (Host Controller) started in 2539ms - Started 11 of 11 services (0 services are passive or on-demand)
17:03:40,345 INFO [org.jboss.as.domain.controller.mgmt] (proxy-threads - 1) JBAS010920: Server [Server:server-one] registered using connection [Channel ID 528bd0a1 (inbound) of Remoting connection 00b6938c to /10.19.222.53:22798]
17:03:40,388 INFO [org.jboss.as.host.controller] (proxy-threads - 1) JBAS010919: Registering server server-one
17:03:40,451 INFO [org.jboss.as.domain.controller.mgmt] (proxy-threads - 1) JBAS010920: Server [Server:server-two] registered using connection [Channel ID 62f3be48 (inbound) of Remoting connection 01b8ff46 to /10.19.222.53:45776]
17:03:40,477 INFO [org.jboss.as.host.controller] (proxy-threads - 1) JBAS010919: Registering server server-two
11:33:18,133 INFO [org.jboss.as.host.controller] (pool-2-thread-17) JBAS010923: Stopping server server-two
11:33:18,135 INFO [org.jboss.as.host.controller] (pool-2-thread-17) JBAS010923: Stopping server server-one
11:33:18,169 INFO [org.jboss.as.host.controller] (Remoting "master:MANAGEMENT" task-1) JBAS010926: Unregistering server server-two
11:33:18,178 INFO [org.jboss.as.host.controller] (Remoting "master:MANAGEMENT" task-4) JBAS010926: Unregistering server server-one
11:33:19,057 INFO [org.jboss.as] (MSC service thread 1-1) JBAS015950: JBoss AS 7.1.1.Final "Brontes" stopped in 933ms
process-controller.log
记录涉及domain启动的进程日志:
17:03:35,369 INFO [org.jboss.modules] (main) JBoss Modules version 1.1.1.GA
17:03:35,518 INFO [org.jboss.as.process.Host Controller.status] (main) JBAS012017: Starting process 'Host Controller'
17:03:38,216 INFO [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) JBAS012017: Starting process 'Server:server-one'
17:03:38,373 INFO [org.jboss.as.process.Server:server-two.status] (ProcessController-threads - 4) JBAS012017: Starting process 'Server:server-two'
11:33:18,115 INFO [org.jboss.as.process] (Shutdown thread) JBAS012016: Shutting down process controller
11:33:18,116 INFO [org.jboss.as.process.Host Controller.status] (Shutdown thread) JBAS012018: Stopping process 'Host Controller'
11:33:18,136 INFO [org.jboss.as.process.Server:server-two.status] (ProcessController-threads - 5) JBAS012018: Stopping process 'Server:server-two'
11:33:18,138 INFO [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 6) JBAS012018: Stopping process 'Server:server-one'
11:33:18,948 INFO [org.jboss.as.process.Server:server-one.status] (reaper for Server:server-one) JBAS012010: Process 'Server:server-one' finished with an exit status of 130
11:33:18,954 INFO [org.jboss.as.process.Server:server-two.status] (reaper for Server:server-two) JBAS012010: Process 'Server:server-two' finished with an exit status of 130
11:33:19,079 INFO [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) JBAS012010: Process 'Host Controller' finished with an exit status of 130
11:33:19,081 INFO [org.jboss.as.process] (Shutdown thread) JBAS012015: All processes finished; exiting
server.log
记录domain server的实例日志,包括以上2种日志信息。?
access_log
记录jboss 访问的日志。
?
2、standalone模式下:
server.log
记录standalone server的实例日志。?
access_log
记录jboss 访问的日志。