2 Replies Latest reply on Mar 4, 2014 9:11 PM by Wind Wild

    about the pattern of access_log on WildFly

    Wind Wild Newbie

      Hello everyone!

      I med a question recently,it's about the pattern of access_log on WildFly.

      I open the access_log on the WildFly and visit my project.Finally I get the access_log as following:

      10.22.4.46   03/Mar/2014:11:57:07 +0800 "GET /nio_demo/TestNIOServlet HTTP/1.1" 200 -1
      10.22.4.46   03/Mar/2014:11:57:37 +0800 "POST /nio_demo/ReadTestServlet HTTP/1.1" 500 80
      10.22.8.237   03/Mar/2014:11:58:15 +0800 "GET /nio_demo/TestNIOServlet HTTP/1.1" 200 -1
      10.22.4.46   03/Mar/2014:11:58:45 +0800 "POST /nio_demo/ReadTestServlet HTTP/1.1" 500 80
      

      the log's pattern is common.What confuse me is that there is long blank between ip and date,and i find the format of common on Apache as following:

      LogFormat "%h %l %u %t \"%r\" %>s %b" common

      example:

      127.0.0.1 - frank [10/Otc/2000:13:55:36 -0700 "GET /apache_pb.gif HTTP/1.0 200 2326"]

      but you can't find the %i and %u on my access_log

      In order to see the log's message like on Apache, there is any way to configure the log on WildFly,or is it normal about my access_log?

       

      I wait your help,Thanks!