turbine-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/util/parser DefaultCookieParser.java
Date Thu, 04 Jul 2002 12:00:46 GMT
henning     2002/07/04 05:00:46

  Modified:    src/java/org/apache/turbine/util/parser
                        DefaultCookieParser.java
  Log:
  Patch from "Will Glass-Husain" <wglass@forio.com>:
  
  --- cut ---
  I read in cookies in my Turbine app when a user logs in.  Every time this
  happens, all the user cookies are displayed in turbine.log.  (priority
  INFO).  This is driving me crazy-- it's really debug information and
  shouldn't clutter up my log.
  --- cut ---
  
  And he is right. :-)
  
  Revision  Changes    Path
  1.2       +3 -3      jakarta-turbine-2/src/java/org/apache/turbine/util/parser/DefaultCookieParser.java
  
  Index: DefaultCookieParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/util/parser/DefaultCookieParser.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultCookieParser.java	16 Aug 2001 05:09:58 -0000	1.1
  +++ DefaultCookieParser.java	4 Jul 2002 12:00:46 -0000	1.2
  @@ -153,13 +153,13 @@
   
           Cookie[] cookies = data.getRequest().getCookies();
   
  -        Log.info ("Number of Cookies "+cookies.length);
  +        Log.debug ("Number of Cookies "+cookies.length);
   
           for (int i=0; i<cookies.length; i++)
           {
               String name = convert (cookies[i].getName());
               String value = cookies[i].getValue();
  -            Log.info ("Adding "+name+"="+value);
  +            Log.debug ("Adding "+name+"="+value);
               add (name,value);
           }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:turbine-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-dev-help@jakarta.apache.org>


Mime
View raw message