1 Reply Latest reply on Feb 5, 2019 11:35 AM by Brian Stansberry

    Configuring server logs in JBoss EAP 6.4 with domain mode

    Gian Carlos Barros Honório Newbie

      Hello, I'm having some trouble trying to configure the JBoss EAP 6.4 log files in domain mode. From what I understand, JBoss running in domain mode save the logs in the /domain/log folder in the host-controller.log and process-controller.log files, but apparently, none of these files has the JBoss output saved. Could anyone help me set up the log files?

        • 1. Re: Configuring server logs in JBoss EAP 6.4 with domain mode
          Brian Stansberry Master

          By default the server logs will be under /domain/servers/<server_name>/log.  The writable dirs (data, log, tmp) for a domain mode server will be children under /domain/servers/<server_name>.

           

          In the host.xml 'servers' element you can set directory-grouping to 'by-type' (versus the default 'by-server') and then for each type of writable dir the servers will be under the same directory structure where the Host Controller process writes. So for logs it would be /domain/log/servers/<server_name>. But that's not the default setting.