Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of Ticket #169


Ignore:
Timestamp:
06/19/06 21:44:05 (18 years ago)
Author:
jmoore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #169

    • Property Version changed from 3.0-M1 to 3.0-M2
    • Property Summary changed from Reworking logging to use varargs to Rework logging to use varargs and to silence test output.
  • Ticket #169 – Description

    initial v1  
    11Now that /common and /client are compiling with Java5 (#154) all references to Commons Logging (`private static Log log = Logger...`) should be replaced by an internal Log class similar to that in [http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/util/Log.html Stripes] using varargs to prevent the `toString()` overhead. 
     2 
     3While doing this, all tests should be fixed to use logging as well. Depending on what our Log/LogFactory solution looks like, something along the lines of :  
     4 
     5{{{ 
     6  private static Log TESTLOG = LogFactory.testLogger(MyTest.class); 
     7  // equivalent to 
     8  // TESTLOG = LogFactory.logger("TEST-"+MyTest.class.getName()); 
     9}}} 
     10 
     11That way, all testing could be turned off with: 
     12{{{ 
     13  log4j.category.TEST = error 
     14}}} 
     15or redirected to a file. 

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.13825 sec.)

We're Hiring!