Forum archive 2000-2006

John Jones - use of STDERR

John Jones - use of STDERR

by Arnold Pizer -
Number of replies: 0
inactiveTopicuse of STDERR topic started 10/2/2003; 2:08:44 PM
last post 10/2/2003; 2:08:44 PM
userJohn Jones - use of STDERR  blueArrow
10/2/2003; 2:08:44 PM (reads: 477, responses: 0)
Hi,

I had some instructors complain that scoring a set sometimes took forever. It really only took 1/2 an hour for WW to score certain sets, which is much less than an hour, but longer than we would like.

I traced the delay to a place where WW prints to standard error in scoreMessage. Commenting out that line cured the delay problem. There is no particular reason to log this message in the web server's logs. It is not a major error, and WW is already logging the message elsewhere.

There are a couple of other places where WW prints to standard error (without $debugON being true). I don't really know why printing to STDERR was hanging, but maybe it would be a good idea to eliminate all places (except maybe when $debugON is true) and otherwise only use WW's log files.

John

<| Post or View Comments |>