+Fri Oct 6 00:30:16 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * logger.c (klog_vsyslog): Make the logs less verbose, by omitting
+ the hostname, pid, etc. information.
+
Thu Oct 5 19:46:40 1995 Theodore Y. Ts'o <tytso@dcl>
* alt_prof.c (krb5_read_realm_params): Remove the profile
/*
* Format a syslog-esque message of the format:
*
- * <date> <hostname> <id>[<pid>](<priority>): <message>
+ * (verbose form)
+ * <date> <hostname> <id>[<pid>](<priority>): <message>
+ *
+ * (short form)
+ * <date> <message>
*/
cp = outbuf;
(void) time(&now);
strncpy(outbuf, ctime(&now) + 4, 15);
cp += 15;
#endif /* HAVE_STRFTIME */
+#ifdef VERBOSE_LOGS
sprintf(cp, " %s %s[%d](%s): ",
log_control.log_hostname, log_control.log_whoami, getpid(),
severity2string(priority));
+#else
+ sprintf(cp, " ");
+#endif
syslogp = &outbuf[strlen(outbuf)];
/* Now format the actual message */