--- fsl_test.c 2002/07/09 09:42:09 1.1
+++ fsl_test.c 2002/07/18 15:18:30 1.2
@@ -9,6 +9,21 @@
syslog(LOG_ALERT, "who: internal error 23\n");
setlogmask(LOG_UPTO(LOG_ERR));
syslog(LOG_INFO|LOG_LOCAL2, "foobar error: %m");
+ syslog(LOG_EMERG, "syslogging LOG_EMERG %d", LOG_EMERG );
+ syslog(LOG_ALERT, "syslogging LOG_ALERT %d", LOG_ALERT );
+ syslog(LOG_CRIT, "syslogging LOG_CRIT %d", LOG_CRIT );
+ syslog(LOG_ERR, "syslogging LOG_ERR %d", LOG_ERR );
+ syslog(LOG_WARNING, "syslogging LOG_WARNING %d", LOG_WARNING);
+ syslog(LOG_NOTICE, "syslogging LOG_NOTICE %d", LOG_NOTICE );
+ syslog(LOG_INFO, "syslogging LOG_INFO %d", LOG_INFO );
+ syslog(LOG_DEBUG, "syslogging LOG_DEBUG %d", LOG_DEBUG );
return 0;
}
+
+
+
+
+
+
+
|