summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2000-07-13 14:27:04 +0000
committerlukem <lukem@NetBSD.org>2000-07-13 14:27:04 +0000
commit481fca6e59249d8ffcf24fef7cfbe7b131bfb080 (patch)
treed2d601eeeff03280099024dde0534a06b6f660a3 /share
parentb10a1b69beb8d5cd6c3e93dcc8e237cbd2abf213 (diff)
example syslogd(8) config files (to be installed as /etc/syslog.conf):
all.debug - each facility gets logged to its own file
Diffstat (limited to 'share')
-rw-r--r--share/examples/syslogd/Makefile11
-rw-r--r--share/examples/syslogd/all.debug25
2 files changed, 36 insertions, 0 deletions
diff --git a/share/examples/syslogd/Makefile b/share/examples/syslogd/Makefile
new file mode 100644
index 00000000000..4352deeb626
--- /dev/null
+++ b/share/examples/syslogd/Makefile
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2000/07/13 14:27:04 lukem Exp $
+
+.include <bsd.own.mk>
+
+.if ${MKSHARE} != "no"
+FILES= all.debug
+FILESDIR=/usr/share/examples/syslogd
+.endif
+MKOBJ= no
+
+.include <bsd.prog.mk>
diff --git a/share/examples/syslogd/all.debug b/share/examples/syslogd/all.debug
new file mode 100644
index 00000000000..edcf7b7fb61
--- /dev/null
+++ b/share/examples/syslogd/all.debug
@@ -0,0 +1,25 @@
+# $NetBSD: all.debug,v 1.1 2000/07/13 14:27:05 lukem Exp $
+#
+# example /etc/syslog.conf:
+# each facility is logged to a separate file
+#
+auth.debug /var/log/auth
+authpriv.debug /var/log/authpriv
+cron.debug /var/log/cron
+daemon.debug /var/log/daemon
+ftp.debug /var/log/ftp
+kern.debug /var/log/kern
+lpr.debug /var/log/lpr
+mail.debug /var/log/mail
+news.debug /var/log/news
+syslog,mark.debug /var/log/syslog
+user.debug /var/log/user
+uucp.debug /var/log/uucp
+local0.debug /var/log/local0
+local1.debug /var/log/local1
+local2.debug /var/log/local2
+local3.debug /var/log/local3
+local4.debug /var/log/local4
+local5.debug /var/log/local5
+local6.debug /var/log/local6
+local7.debug /var/log/local7
'> Fixes silent hang on hpcsh and hpcmips. XXX: all other rasops based console devices need to set this flag?? 2010-02-24A pointer typedef entails trading too much flexibility to declare constdyoung and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types. 2010-01-08Expand PMF_FN_* macros.dyoung 2009-11-23Remove some unecessary includes sys/user.h header.rmind 2009-04-05Register with pmf(9). Thus we register with both dopowerhooks(9) anduwe pmf(9), but they are mutually exclusive (apm(4) vs apmdev(4)). Express pmf(9) hooks in terms of dopowerhooks(9) hook - the reverse would be more natural, but pmf hook signature is hidden behind PMF_FN_ARGS/PMF_FN_CALL, so just go the least intrusive way for now. 2009-04-05Split device_t and softc.uwe 2009-03-14ANSIfy another 1261 function definitions.dsl The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters. 2008-04-06use aprint_*_dev and device_xnamecegger 2008-01-30Has this compiled recently?ad 2008-01-04Start detangling lock.h from intr.h. This is likely to cause short termad breakage, but the mess of dependencies has been regularly breaking the build recently anyhow. 2007-10-29wsdisplay has been converted to device_t/softc separation so we can't castpeter the wsdisplay device to the wsdisplay_softc anymore. Use device_private() instead to get the softc. 2007-10-19machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.had 2007-07-09Merge some of the less invasive changes from the vmlocking branch:ad - kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements 2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos 2006-11-16__unused removal on arguments; approved by core.christos 2006-10-12-Wextra fixesuwe 2006-10-09Remove (the default) #define XXXDEBUG and add the options to the relevantpeter files.xxx file. 2006-09-24Add "name" parameter to powerhook_establish, to aid debugging. No objectionsjmcneill on tech-kern@ 2006-04-12Add an extra cookie to the ioctl and mmap wsdisplay accessops that pointsjmmv to the screen on which they are being called. The driver cannot guess this by itself but it is needed to implement, at least, the getwschar and putwschar functions in the correct place. There are no functional changes yet. Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64. Suggested and reviewed by macallan@. 2006-03-29Use device_private().thorpej 2005-12-11merge ktrace-lwp.christos 2005-09-04For HPCFB_CLASS_RGBCOLOR class propagate r/g/b widths and positionsuwe from hf_rgb to rasops_info. 2005-05-22No 0x in front of %p...christos 2005-02-27nuke trailing whitespaceperry 2003-06-29Back out the lwp/ktrace changes. They contained a lot of colateral damage,fvdl and need to be examined and discussed more. 2003-06-29struct proc * -> struct lwp *ichiro