🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #622

Re: syslogd

#622
From: Piotr Piatkowski
Date: Thu, 23 Oct 1997 15:12
20 lines
1160 bytes
Artur Czechowski <Czesiu@bofh.org.pl> wrote:

: W jaki sposób skłonić perla do zapisywania logów poprzez syslogd?

perldoc syslog

     NAME
          Sys::Syslog, openlog, closelog, setlogmask, syslog - Perl
          interface to the UNIX syslog(3) calls

     SYNOPSIS
              use Sys::Syslog;

              openlog $ident, $logopt, $facility;
              syslog $priority, $format, @args;
              $oldmask = setlogmask $mask_priority;
              closelog;

-- 
Piotr Piątkowski, Uczelniane Centrum Informatyki, AGH Krakow, POLAND
Technical Details
Message-ID: <62npgb$gjt$1@galaxy.uci.agh.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!agh.edu.pl!not-for-mail
References: <62ncll$800$1@arc.icl.co.uk>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!agh.edu.pl!not-for-mail
From: kompas@galaxy.uci.agh.edu.pl (Piotr Piatkowski)
Newsgroups: pl.comp.lang.perl
Subject: Re: syslogd
Date: 23 Oct 1997 17:12:11 +0200
Organization: University of Mining & Metallurgy
Lines: 20
Message-ID: <62npgb$gjt$1@galaxy.uci.agh.edu.pl>
References: <62ncll$800$1@arc.icl.co.uk>
NNTP-Posting-Host: galaxy.uci.agh.edu.pl
Mime-Version: 1.0
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970307; sun4m SunOS 5.5.1]
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit