スポンサードリンク


Java ログフィルタでHTTPを解析 ログ出力結果 [戻る]


以下がTomcatのSessions Example画面の「クエリ送信」を実行したログ出力結果です。

2007/05/12 20:49:48:[CONFIG]:============ Request Start !! Thread ID:30725267 ========================================================
2007/05/12 20:49:48:[FINE]:Cookie情報
  --- Cookie[0] ---
    JSESSIONID=27DABD86EA8B8655F808DC04081E032C
    getVersion()=0
    getComment()=null
    getDomain()=null
    getMaxAge()=-1
    getPath()=null
    getSecure()=false
2007/05/12 20:49:48:[FINE]:HTTPヘッダ情報
    accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, application/x-shockwave-flash
    referer=http://localhost:8080/examples/servlets/servlet/SessionExample
    accept-language=ja
    content-type=application/x-www-form-urlencoded
    ua-cpu=x86
    accept-encoding=gzip, deflate
    user-agent=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)
    host=localhost:8080
    content-length=28
    connection=Keep-Alive
    cache-control=no-cache
    cookie=JSESSIONID=27DABD86EA8B8655F808DC04081E032C
2007/05/12 20:49:48:[FINE]:HTTPその他の情報
    getCharacterEncoding()=null
    getContentLength()=28
    getContentType()=application/x-www-form-urlencoded
    getLocale()=ja
    getProtocol()=HTTP/1.1
    getRemoteAddr()=127.0.0.1
    getRemoteHost()=127.0.0.1
    getScheme()=http
    getServerName()=localhost
    getServerPort()=8080
    isSecure()=false
    getAuthType()=null
    getContextPath()=/examples
    getMethod()=POST
    getPathInfo()=null
    getPathTranslated()=null
    getQueryString()=null
    getRemoteUser()=null
    getRequestedSessionId()=27DABD86EA8B8655F808DC04081E032C
    getRequestURI()=/examples/servlets/servlet/SessionExample
    getServletPath()=/servlets/servlet/SessionExample
    getUserPrincipal()=null
    isRequestedSessionIdFromCookie()=true
    isRequestedSessionIdFromURL()=false
    isRequestedSessionIdValid()=true
2007/05/12 20:49:48:[CONFIG]:HTTPリクエストパラメータ
    dataname=test
    datavalue=test
2007/05/12 20:49:48:[CONFIG]:requestスコープのオブジェクト
2007/05/12 20:49:48:[CONFIG]:sessionスコープのオブジェクト(リクエスト処理前)
    session.isNew() = false
    session.getId() = 27DABD86EA8B8655F808DC04081E032C
2007/05/12 20:49:48:[CONFIG]:sessionスコープのオブジェクト(リクエスト処理後)
    name =test, value =test, attributeClass = java.lang.String
2007/05/12 20:49:48:[CONFIG]: リクエスト前後のメモリ使用量
 20:49:48 リクエスト[前]  : 合計=5,056KB, 使用量=3,858KB (76%), 使用可能最大=65,088KB
 20:49:48 リクエスト[後]  : 合計=5,056KB, 使用量=3,976KB (78%), 使用可能最大=65,088KB
2007/05/12 20:49:48:[INFO]:NEXT_PAGE=[/examples/servlets/servlet/SessionExample], IP_ADDRESS=[127.0.0.1], SESSION_ID=[27DABD86EA8B8655F808DC04081E032C], USER-AGENT=[Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)]
2007/05/12 20:49:48:[CONFIG]:============ Request End  !! Thread ID:30725267 =========================================================

スポンサードリンク


[戻る]