archives

« Bugzilla Issues Index

#1466 — should be command line argument to set logging level


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.


Dan, patch please!


Created attachment 35
patch to set loglevel in test262.py


pushed in http://hg.ecmascript.org/tests/test262/rev/e62e1b35f0d9