next up previous contents index
Next: 40.3 Representing web pages Up: 40.2 Overview of web Previous: 40.2.2 Managing web pages   Contents   Index


40.2.3 Debugging

HttpApp provides two debugging methods. log registers a file handle as the trace file for all HttpApp-specific traces. Its trace format is described in section 40.9. evTrace logs a particular event into trace file. It concatenates time and the id of the HttpApp to the given string, and writes it out. Details can be found in ns/webcache/http.cc.



2009-01-06