Browse Source

更新 'resin.conf'

robert 5 năm trước cách đây
mục cha
commit
e499d943be
1 tập tin đã thay đổi với 2 bổ sung5 xóa
  1. 2 5
      resin.conf

+ 2 - 5
resin.conf

@@ -225,12 +225,9 @@
          - With another web server, like Apache, this can be commented out
          - because the web server will log this information. -->
 
-       <access-log path-format="/data/log/other/access_log.%Y-%m-%d_%H.log" 
-                format='v2{]b.easou.com{]%r{]%{uid_bi}c{]%{%Y%m%d %H%M%S%s}t{]-{]%D{]%b{]%b{]%h{]%h{]%{Referer}i{]-{]%{User-Agent}i{]online_ta{]%{uid_bi}c{]-{]$%{uid}c{]%{cid}c{]{]v2' 
+       <access-log path-format="/data/log/other/access.log" 
+            format='v2{]b.easou.com{]%r{]%{uid_bi}c{]%{%Y%m%d %H%M%S%s}t{]%s{]-{]%D{]%b{]%b{]%h{]%{X-Forwarded-For}i{]%{Referer}i{]-{]%{User-Agent}i{]online_ta{]%{uid_bi}c{]-{]%{uid}c{]%{cid}c{]{]v2' 
             rollover-period="1h"/>
-        <!--   <access-log path="logs/access.log" 
-            format='%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i"'
-            rollover-period="1W"/>-->
 
       <!-- creates the webapps directory for .war expansion -->
       <web-app-deploy path="webapps"/>