DPRINT2
DPRINT2(5, "formatnet(%u): called for msg %p\n", mythreadno,
DPRINT2(9, "formatnet(%u): Message content:\n>%s<\n", mythreadno,
DPRINT2(9, "formatsys(%u): Message Content:\n>%s<\n", mythreadno,
DPRINT2(5, "formatsys(%u): msglen = %d\n", mythreadno, msglen);
DPRINT2(5, "formatsys(%u): len (copynl_frwd) = %d\n",
DPRINT2(3, "logmsg(%u): pending SHUTDOWN %d\n",
DPRINT2(3, "logmsg(%u): released late "
DPRINT2(5, "logit(%u): got FLUSH|SYNC "
DPRINT2(2, "logit(%u): msg is dup - %p\n",
DPRINT2(2, "logit(%u): msg is "
DPRINT2(2, "logit(%u): saving "
DPRINT2(2, "logit(%u): msg is new "
DPRINT2(5, "writemsg(%u): text = \"%s\"\n", mythreadno, text);
DPRINT2(5, "writemsg(%u): head = \"%s\"\n", mythreadno, head);
DPRINT2(5, "writemsg(%u): hlen = %d\n", mythreadno, hlen);
DPRINT2(5, "writemsg(%u): text = \"%s\"\n", mythreadno, text);
DPRINT2(5, "writemsg(%u): strlen(text) = %d\n", mythreadno, l);
DPRINT2(5, "writemsg(%u): tmpbuf = \"%s\"\n",
DPRINT2(5, "writemsg(%u): len = %d\n", mythreadno,
DPRINT2(5, "writemsg(%u): strlen(tmpbuf) = %d\n",
DPRINT2(5, "writemsg(%u): strlen(filtered) = %d\n",
DPRINT2(5, "writemsg(%u): freeing filtered (%p)\n",
DPRINT2(5, "wallmsg(%u): clen = %d\n",
DPRINT2(5, "wallmsg(%u): freeing buf (%p)\n",
DPRINT2(5, "wallmsg(%u): clen = %d\n",
DPRINT2(1, "wallmsg(%u): write to '%s'\n", mythreadno,
DPRINT2(5, "wallmsg(%u): wallmsg thread "
DPRINT2(1, "writetodev(%u): Can't stat '%s'\n",
DPRINT2(1, "writetodev(%u): Can't write to "
DPRINT2(1, "writetodev(%u): '%s' not a tty\n",
DPRINT2(1, "writetodev(%u): Can't determine owner "
DPRINT2(1, "writetodev(%u): Bad terminal owner '%s'"
DPRINT2(1, "writetodev(%u): Write failed to "
DPRINT2(1, "writetodev(%u): write to '%s' succeeded\n",
DPRINT2(1, "writetodev(%u): Can't open '%s'\n",
DPRINT2(2, "cvthname(%u): looking up hostname for %s\n",
DPRINT2(2, "cvthname(%u): No cache found for %s\n",
DPRINT2(2, "cvthname(%u): Found %d hostnames\n",
DPRINT2(1, "cvthname(%u): Hostname lookup failed "
DPRINT2(1, "logerror(%u): %s\n", mythreadno, buf);
DPRINT2(5, "logerror_format(%u): out %s\n", mythreadno, buf);
DPRINT2(1, "logerror_to_console(%u): %s\n", mythreadno, buf);
DPRINT2(2, "freehl(%u): releasing %p\n", mythreadno, (void *)h);
DPRINT2(5, "freehl(%u): freeing %p\n", mythreadno, (void *)h);
DPRINT2(5, "open_door(%u): %s opened "
DPRINT2(5, "open_door(%u): "
DPRINT2(5, "open_door(%u): error: "
DPRINT2(5, "open_door(%u): creat() of %s "
DPRINT2(5, "open_door(%u): lstat() of %s "
DPRINT2(1, "open_door(%u): error: "
DPRINT2(5, "open_door(%u): %s is not a "
DPRINT2(5, "open_door(%u): %s\n",
DPRINT2(5, "open_door(%u): file %s doesn't "
DPRINT2(5, "open_door(%u): %s\n", mythreadno,
DPRINT2(5, "open_door(%u): door_create() succeeded, "
DPRINT2(5, "open_door(%u): attached server() to %s\n", mythreadno,
DPRINT2(5, "open_door(%u): %s created\n",
DPRINT2(5, "open_door(%u): lstat() of %s "
DPRINT2(1, "open_door(%u): warning: "
DPRINT2(5, "open_door(%u): %s\n",
DPRINT2(5, "open_door(%u): file %s doesn't "
DPRINT2(5, "open_door(%u): %s\n", mythreadno,
DPRINT2(1, "checkm4(%u): /usr/ccs/bin/m4 - access "
DPRINT2(2, "init(%u): Next alarm in %d seconds\n",
DPRINT2(1, "main(%u): Unable to cd to %s\n", mythreadno,
DPRINT2(1, "conf_init(%u): %s does not exist\n", mythreadno,
DPRINT2(1, "conf_init(%u): cannot open %s\n", mythreadno,
DPRINT2(5, "filed_init(%u): dataq_init for queue %p\n",
DPRINT2(1, "cfline(%u): (%s)\n", mythreadno, line);
DPRINT2(1, "getnets(%u): found %d addresses",
DPRINT2(1, "getnets(%u): %s",
DPRINT2(1, "bindnet(%u): failed to bind port (%s)\n",
DPRINT2(1, "amiloghost(%u): testing %s\n",
DPRINT2(3, "new_msg(%u): creating msg %p\n", mythreadno, (void *)lm);
DPRINT2(3, "free_msg(%u): freeing msg %p\n", mythreadno, (void *)lm);
DPRINT2(9, "filter_string(%u): Invalid "
DPRINT2(9, "filter_string(%u): MB"
DPRINT2(1, "main(%u): Started at time %s", mythreadno,
DPRINT2(9, "filter_string(%u): control "
DPRINT2(9, "filter_string(%u): non-printable "
DPRINT2(5, "close_door(%u): detached server() from %s\n",
DPRINT2(5, "delete_doorfiles(%u): deleted %s\n",
DPRINT2(5, "delete_doorfiles(%u): %s\n",
DPRINT2(5, "delete_doorfiles(%u): deleted %s\n",
DPRINT2(5, "delete_doorfiles(%u): deleted %s\n", mythreadno,
DPRINT2(5, "delete_doorfiles(%u): %s, \n",
DPRINT2(5, "delete_doorfiles(%u): deleted %s\n",
DPRINT2(1, "delete_doorfiles(%u): revoked door: DoorFd=%d\n",
DPRINT2(2, "main(%u): received signal %d\n", mythreadno, sig);
DPRINT2(2, "main(%u): Next alarm in %d "
DPRINT2(3, "reconfigure(%u): %.15s: awaiting logmsg()"
DPRINT2(3, "reconfigure(%u): %.15s: logmsg() will accept HUP\n",
DPRINT2(1, "main(%u): going down on signal %d\n",
DPRINT2(3, "reconfigure(%u): %.15s: sending SHUTDOWN\n",
DPRINT2(3, "reconfigure(%u): %.15s: logmsg() does not "
DPRINT2(3, "reconfigure(%u): %.15s: logmsg()"
DPRINT2(3, "reconfigure(%u): %.15s: logmsg() suspended\n",
DPRINT2(3, "reconfigure(%u): %.15s: awaiting logit() to be"
DPRINT2(3, "reconfigure(%u): "
DPRINT2(3, "reconfigure(%u): "
DPRINT2(3, "reconfigure(%u): %.15s:"
DPRINT2(3, "reconfigure(%u): %.15s: really stuck\n",
DPRINT2(3, "reconfigure(%u): %.15s: cleanup complete\n",
DPRINT2(3, "reconfigure(%u): %.15s: resuming logmsg()\n",
DPRINT2(2, "main(%u): unexpected signal %d\n",
DPRINT2(9, "hnc_lookup(%u): purge %p\n",
DPRINT2(9, "hnc_register(%u): discard %p\n",
DPRINT2(1, "openklog(%u): cannot register to log "
DPRINT2(5, "getkmsg:(%u): getmsg: dat.len = %d\n",
DPRINT2(5, "getkmsg(%u): getmsg: dat.maxlen = %d\n",
DPRINT2(5, "getkmsg(%u): getmsg: dat.len = %d\n",
DPRINT2(5, "getkmsg(%u): getmsg: strlen(dat.buf) = %d\n",
DPRINT2(5, "getkmsg(%u): getmsg: dat.buf = \"%s\"\n",
DPRINT2(5, "getkmsg(%u): buf len = %d\n",
DPRINT2(1, "net_poll(%u):"
DPRINT2(1, "net_poll(%u): received message"
DPRINT2(5, "logmymsg(%u): Message content: %s\n", mythreadno, msg);