Lines Matching refs:log

104      * @param log Set true if you want trace output
106 public void initServer(boolean log) throws Exception {
107 initServer(DEFAULT_PORT, DEFAULT_TIMEOUT, log);
113 * @param log Set true if you want trace output
115 public void initServer(int port, boolean log) throws Exception {
116 initServer(port, DEFAULT_TIMEOUT, log);
124 * @param log Set true if you want trace output
126 public void initServer(int port, int timeout, boolean log) throws Exception {
129 mLog = log;
140 * Print to the log file (if logging enabled)
141 * @param s String to send to the log
143 protected void log(String s) {
201 log("Server will redirect output to "+redirect+" code "+code);
210 log("Closing AcceptThread"+acceptT);
236 log("IOException in AcceptThread.init()");
278 log("SocketException in AcceptThread: probably closed during accept");
281 log("IOException in AcceptThread");
285 log("AcceptThread terminated" + this);
309 log("IOException caught by server socket close");
390 log(this+" Moving to wait state");
418 log(this+" terminated");
441 log("Reading one line: started ="+readStarted+" avail="+is.available());
446 log("EOF returned");
461 log("IOException from readOneLine");
485 log("IOException from readData");
501 log("Parse status line");
515 log("GET request");
523 log("HEAD request");
531 log("POST request");
570 log("Parse a header");
607 log("Read headers");
628 log("Read content");
678 log("SOCKET CLOSED");
747 log("SOCKET CLOSED");
751 // Print string to log and output stream
753 log(s);
757 // Print bytes to log and output stream
759 log(new String(bytes));
763 // Print CRLF to log and output stream
765 log("CRLF");
770 // Print status to log and output stream
774 log("REDIRECTING TO "+redirectHost+" status "+redirectCode);
795 log("Status sent");
836 log("Headers sent");