File: README

package info (click to toggle)
cl-syslog 0.9.1-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 56 kB
  • ctags: 22
  • sloc: lisp: 93; makefile: 48
file content (22 lines) | stat: -rw-r--r-- 644 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Common Lisp interface to Syslog via foreign-function calls.  Perhaps
one should add support for talking to it via UDP.

Example:

  * (require :cl-syslog)

  * (syslog:log "myprog" :local7 :info "this is the message")
  "this is the message"

  * (syslog:log "myprog" :local7 :info "this is the message" syslog:+log-pid+)
  "this is the message"

  * (syslog:log "myprog" :local7 :info "this is the message" (+ syslog:+log-pid+ 
                                                                syslog:+log-cons+))
  "this is the message"
 
Then look in your /var/log/messages or other location if you have
tweaked your /etc/syslog.conf.

Erik.