Bug 2200

Summary: TestRunner option to force log output to console
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2234    

Description Andrew Cagney 2006-01-24 17:47:12 UTC
Stan writes:

On the positive side you can now get trace messages on the console as
well as to the logs.  Just setup ~/.frysk/logging.properties:
java.util.logging.ConsoleHandler.level = FINEST
java.util.logging.FileHandler.level = FINEST

Need to be able to manipulate these from the TestRunner command line.
Comment 1 Andrew Cagney 2006-01-30 23:38:12 UTC
common/ChangeLog
2006-01-30  Andrew Cagney  <cagney@redhat.com>

        * TestRunner.javain (get): Add -c|--console option.  When
        specified, add a console logger set to log at specified level.

        * Makefile.rules (distclean-cvsignored): Fix typo, $@.log, not
        $*.log.

        * TestRunner.javain: Import frysk.EventLogger.

        * Makefile.gen.sh (noinst_PROGRAMS): Add TestRunner so that it is
        always built.

        * TestRunner.javain: Fix typo, Optioni -> Option.

        * TestRunner.javain: Implement options using jargs, new option
        names are --level and --repeat.

frysk-imports/frysk/ChangeLog
2006-01-30  Andrew Cagney  <cagney@redhat.com>

        * EventLogger.java: Do not add a ConsoleHandler.

        * Config.javain: Refactor EventLogger to ...
        * EventLogger.java: ... new file.  Simplify.

        * Config.javain (BUILDDIR, SRCDIR, ABS_BUILDDIR, ABS_SRCDIR):
        Delete.  Add -*- Java -*- marker.  Re-indent.