锘??xml version="1.0" encoding="utf-8" standalone="yes"?>日本一区二区三区久久久久久久久不,av三级在线播放,黄色美女久久久http://www.aygfsteel.com/llxiong/category/8442.html鏀惰棌銆?/description>zh-cnFri, 12 Feb 2010 00:17:00 GMTFri, 12 Feb 2010 00:17:00 GMT60Tomcat 鍐呭瓨http://www.aygfsteel.com/llxiong/archive/2008/07/30/218736.htmlxnabxxnabxWed, 30 Jul 2008 07:18:00 GMThttp://www.aygfsteel.com/llxiong/archive/2008/07/30/218736.htmlhttp://www.aygfsteel.com/llxiong/comments/218736.htmlhttp://www.aygfsteel.com/llxiong/archive/2008/07/30/218736.html#Feedback0http://www.aygfsteel.com/llxiong/comments/commentRss/218736.htmlhttp://www.aygfsteel.com/llxiong/services/trackbacks/218736.html闃呰鍏ㄦ枃

xnabx 2008-07-30 15:18 鍙戣〃璇勮
]]>
(杞?璁捐涓涓猅omcat璁塊棶鏃ュ織鍒嗘瀽宸ュ叿 http://www.aygfsteel.com/llxiong/archive/2008/04/15/193057.htmlxnabxxnabxTue, 15 Apr 2008 04:06:00 GMThttp://www.aygfsteel.com/llxiong/archive/2008/04/15/193057.htmlhttp://www.aygfsteel.com/llxiong/comments/193057.htmlhttp://www.aygfsteel.com/llxiong/archive/2008/04/15/193057.html#Feedback0http://www.aygfsteel.com/llxiong/comments/commentRss/193057.htmlhttp://www.aygfsteel.com/llxiong/services/trackbacks/193057.html鍑哄錛歨ttp://www.aygfsteel.com/xmatthew/archive/2008/04/14/192450.html
(杞?璁捐涓涓猅omcat璁塊棶鏃ュ織鍒嗘瀽宸ュ叿
甯鎬嬌鐢╳eb鏈嶅姟鍣ㄧ殑鏈嬪弸澶ч兘浜嗚В錛屼竴鑸殑web server鏈変袱閮ㄥ垎鏃ュ織錛?br />     涓鏄繍琛屼腑鐨勬棩蹇楋紝瀹冧富瑕佽褰曡繍琛岀殑涓浜涗俊鎭紝灝ゅ叾鏄竴浜涘紓甯擱敊璇棩蹇椾俊鎭?br />     浜屾槸璁塊棶鏃ュ織淇℃伅錛屽畠璁板綍鐨勮闂殑鏃墮棿錛孖P錛岃闂殑璧勬枡絳夌浉鍏充俊鎭?br />    
鐜板湪鎴戞潵鍜屽ぇ瀹朵粙緇嶄竴涓嬪埄鐢╰omcat浜х敓鐨勮闂棩蹇楁暟鎹紝鎴戜滑鑳藉仛鍝簺鏈夋晥鐨勫垎鏋愭暟鎹紵

棣栧厛鏄厤緗畉omcat璁塊棶鏃ュ織鏁版嵁錛岄粯璁ゆ儏鍐典笅璁塊棶鏃ュ織娌℃湁鎵撳紑錛岄厤緗殑鏂瑰紡濡備笅錛?br />     緙栬緫 ${catalina}/conf/server.xml鏂囦歡.娉?${catalina}鏄痶omcat鐨勫畨瑁呯洰褰?br />     鎶婁互涓嬬殑娉ㄩ噴(<!-- -->)鍘繪帀鍗沖彲銆?br />             <!--
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="localhost_access_log." suffix=".txt"
                 pattern="common" resolveHosts="false"/>
        -->
    鍏朵腑 directory鏄駭鐢熺殑鐩綍 tomcat瀹夎${catalina}浣滀負褰撳墠鐩綍
    pattern琛ㄧず鏃ュ織鐢熶駭鐨勬牸寮忥紝common鏄痶omcat鎻愪緵鐨勪竴涓爣鍑嗚緗牸寮忋傚叾鍏蜂綋鐨勮〃杈懼紡涓?%h %l %u %t "%r" %s %b
    浣嗘湰浜哄緩璁噰鐢ㄤ互涓嬪叿浣撶殑閰嶇疆錛屽洜涓烘爣鍑嗛厤緗湁涓浜涢噸瑕佺殑鏃ュ織鏁版嵁鏃犳硶鐢熴?br />         %h %l %u %t "%r" %s %b %T 
鍏蜂綋鐨勬棩蹇椾駭鐢熸牱寮忚鏄庡涓?浠庡畼鏂規枃妗d腑鎽樺綍)錛?br />     * %a - Remote IP address
    * %A - Local IP address
    * %b - Bytes sent, excluding HTTP headers, or '-' if zero
    * %B - Bytes sent, excluding HTTP headers
    * %h - Remote host name (or IP address if resolveHosts is false)
    * %H - Request protocol
    * %l - Remote logical username from identd (always returns '-')
    * %m - Request method (GET, POST, etc.)
    * %p - Local port on which this request was received
    * %q - Query string (prepended with a '?' if it exists)
    * %r - First line of the request (method and request URI)
    * %s - HTTP status code of the response
    * %S - User session ID
    * %t - Date and time, in Common Log Format
    * %u - Remote user that was authenticated (if any), else '-'
    * %U - Requested URL path
    * %v - Local server name
    * %D - Time taken to process the request, in millis
    * %T - Time taken to process the request, in seconds

There is also support to write information from the cookie, incoming header, the Session or something else in the ServletRequest. It is modeled after the apache syntax:

    * %{xxx}i for incoming headers
    * %{xxx}c for a specific cookie
    * %{xxx}r xxx is an attribute in the ServletRequest
    * %{xxx}s xxx is an attribute in the HttpSession


鐜板湪鎴戜滑鍥炲ご鍐嶆潵鐪嬩竴涓嬩笅闈㈣繖涓厤緗?%h %l %u %t "%r" %s %b %T 鐢熶駭鐨勮闂棩蹇楁暟鎹紝鎴戜滑鍙互鍋氬摢浜涗簨錛?br /> 鍏堢湅涓涓嬶紝鎴戜滑鑳藉緱鍒扮殑鏁版嵁鏈?
    * %h 璁塊棶鐨勭敤鎴稩P鍦板潃
    * %l 璁塊棶閫昏緫鐢ㄦ埛鍚嶏紝閫氬父榪斿洖'-'
    * %u 璁塊棶楠岃瘉鐢ㄦ埛鍚嶏紝閫氬父榪斿洖'-'
    * %t 璁塊棶鏃ユ椂
    * %r 璁塊棶鐨勬柟寮?post鎴栬呮槸get)錛岃闂殑璧勬簮鍜屼嬌鐢ㄧ殑http鍗忚鐗堟湰
    * %s 璁塊棶榪斿洖鐨刪ttp鐘舵?br />     * %b 璁塊棶璧勬簮榪斿洖鐨勬祦閲?br />     * %T 璁塊棶鎵浣跨敤鐨勬椂闂?br />    
鏈変簡榪欎簺鏁版嵁錛屾垜浠彲浠ユ牴鎹椂闂存鍋氫互涓嬬殑鍒嗘瀽澶勭悊(鍥劇墖浣跨敤jfreechart宸ュ叿鍔ㄦ佺敓鎴?錛?br />   * 鐙珛IP鏁扮粺璁?br />   * 璁塊棶璇鋒眰鏁扮粺璁?br />   * 璁塊棶璧勬枡鏂囦歡鏁扮粺璁?br />   * 璁塊棶嫻侀噺緇熻
  * 璁塊棶澶勭悊鍝嶅簲鏃墮棿緇熻
  * 緇熻鎵鏈?04閿欒欏甸潰
  * 緇熻鎵鏈?00閿欒鐨勯〉闈?br />   * 緇熻璁塊棶鏈棰戠箒欏甸潰
  * 緇熻璁塊棶澶勭悊鏃墮棿鏈涔呴〉闈?br />   * 緇熻騫跺彂璁塊棶棰戠巼鏈楂樼殑欏甸潰



























鍒嗘瀽宸ュ叿鍖呮嫭涓ゅぇ閮ㄥ垎錛屼竴涓槸鍚庡彴瑙i噴紼嬪簭錛屾瘡澶╂墽琛屼竴嬈″鍚庡彴鏃ュ織鏁版嵁榪涜瑙f瀽鍚庝繚瀛樺埌鏁版嵁搴撲腑銆?br /> 絎簩涓槸鏄劇ず紼嬪簭錛屼粠鏁版嵁搴撲腑鏌ヨ鏁版嵁騫剁敓鎴愮浉搴旂殑鍥捐〃淇℃伅銆?br />

xnabx 2008-04-15 12:06 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 云霄县| 丰顺县| 奉贤区| 东城区| 连江县| 垦利县| 从化市| 县级市| 治多县| 金堂县| 饶平县| 淳安县| 天峻县| 南城县| 申扎县| 扬中市| 田东县| 宣化县| 兴化市| 四会市| 左贡县| 阿拉善盟| 绥德县| 汾阳市| 金湖县| 瓮安县| 册亨县| 柯坪县| 彰化市| 新巴尔虎左旗| 吴忠市| 武乡县| 南涧| 佛教| 淳化县| 会同县| 嘉鱼县| 崇明县| 申扎县| 尤溪县| 库车县|