[ LUGOS ] syslog povezan z bazo

Branko F. Gracner branko na edico.si
Tor Mar 20 15:07:00 CET 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> ALi imamo kaksen syslog, ki bi znal pisati v bazo ?
iz man syslog.conf:

  Named Pipes
       This version of syslogd(8) has support for  logging  output  
to  named  pipes
       (fifos).   A  fifo or named pipe can be used as a destination
for log messages
       by prepending a pipe symbol (``|'') to the name of the file.  
This  is  handy
       for  debugging.  Note that the fifo must be created with the
mkfifo(1) command
       before syslogd(8) is started.

torej, ce naredis fifo, pa en zelo izi skript (perl+dbi), ki bo bral
ta fifo in glede na to, kaj bo prebral iz fifota spisal v bazo, je to
to. :)

brane

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOrdkAe9q7Ci83GJUEQLC2QCcDgMOydCiNz9jfLwU3mnSqU+LecQAoKiH
8wn583VKGsry02Hgw//9GDN8
=gutu
-----END PGP SIGNATURE-----





Dodatne informacije o seznamu Starilist