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 41.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.