You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2013/04/12 16:48:16 UTC

[jira] [Created] (SLING-2821) Logging the cookie value in a custom request log pattern does not work

Felix Meschberger created SLING-2821:
----------------------------------------

             Summary: Logging the cookie value in a custom request log pattern does not work
                 Key: SLING-2821
                 URL: https://issues.apache.org/jira/browse/SLING-2821
             Project: Sling
          Issue Type: Bug
          Components: Engine
    Affects Versions: Engine 2.2.6
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: Engine 2.2.8


When using the

   "%{cookie-name}C"

pattern in a custom log format, not the cookie's value but something like 

   "javax.servlet.http.Cookie@157ce2e3"

is logged.

The right value to log is not Cookie.toString() but Cookie.getValue()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira