Bug 2200 - TestRunner option to force log output to console
Summary: TestRunner option to force log output to console
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2234
  Show dependency treegraph
 
Reported: 2006-01-24 17:47 UTC by Andrew Cagney
Modified: 2006-01-31 15:54 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.