« Bugzilla Issues Index
#1466 — should be command line argument to set logging level
- bug_id:
1466
- creation_ts:
2013-05-02 13:22:00 -0700
- short_desc:
should be command line argument to set logging level
- delta_ts:
2013-05-17 07:42:00 -0700
- product:
Test262
- component:
Test Harness
- version:
unspecified
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Dan Schaffer
- assigned_to:
Dan Schaffer
- cc:
trbaker
- commentid:
3703
- comment_count:
0
- who:
Dan Schaffer
- bug_when:
2013-05-02 13:22:17 -0700
The tools/packaging/test262.py script should have a command line switch to set the logging level. Currently you can only change the log level by editing the python script. To change the log level I think you would do something like: getattr(logging,loglevel) where loglevel is: DEBUG, INFO, WARNING, ERROR or CRITICAL. The test262.py script only uses INFO, WARNING, and ERROR.
- commentid:
3712
- comment_count:
1
- who:
Trevor Baker
- bug_when:
2013-05-07 12:01:20 -0700
Dan, patch please!
- commentid:
3717
- comment_count:
2
- attachid:
35
- who:
Dan Schaffer
- bug_when:
2013-05-08 10:55:47 -0700
Created attachment 35
patch to set loglevel in test262.py
- commentid:
4058
- comment_count:
3
- who:
Trevor Baker
- bug_when:
2013-05-17 07:42:00 -0700
pushed in http://hg.ecmascript.org/tests/test262/rev/e62e1b35f0d9