Sponsored Content
Full Discussion: Help
Top Forums UNIX for Dummies Questions & Answers Help Post 9285 by TioTony on Wednesday 24th of October 2001 08:02:23 PM
Old 10-24-2001
Dude,
I am confused by your statement about telnet. Are you logging into a Unix box or is your question about how to log in or where to log in to?
If you are logged in, you need to know where Perl was installed on the system, or if it even was for that matter. Your sysadmin may be able to help you with this. You can always do a find for perl* but asking someone is probably quicker.
Once you have found the perl interpreter, just follow your book and everthing should be fine. If you don't know vi you may have to edit the files on your PC and FTP them to the Unix system.
Good Luck Dude,
TioTony
 
Log::Dispatch::Syslog(3)				User Contributed Perl Documentation				  Log::Dispatch::Syslog(3)

NAME
Log::Dispatch::Syslog - Object for logging to system log. SYNOPSIS
use Log::Dispatch; my $log = Log::Dispatch->new ( outputs => [ [ 'Syslog', min_level => 'info', ident => 'Yadda yadda' ] ] ); $log->emerg( "Time to die." ); DESCRIPTION
This module provides a simple object for sending messages to the system log (via UNIX syslog calls). Note that logging may fail if you try to pass UTF-8 characters in the log message. If logging fails and warnings are enabled, the error message will be output using Perl's "warn". CONSTRUCTOR
The constructor takes the following parameters in addition to the standard parameters documented in Log::Dispatch::Output: o ident ($) This string will be prepended to all messages in the system log. Defaults to $0. o logopt ($) A string containing the log options (separated by any separator you like). See the openlog(3) and Sys::Syslog docs for more details. Defaults to ''. o facility ($) Specifies what type of program is doing the logging to the system log. Valid options are 'auth', 'authpriv', 'cron', 'daemon', 'kern', 'local0' through 'local7', 'mail, 'news', 'syslog', 'user', 'uucp'. Defaults to 'user' o socket ($) Tells what type of socket to use for sending syslog messages. Valid options are listed in "Sys::Syslog". If you don't provide this, then we let "Sys::Syslog" simply pick one that works, which is the preferred option, as it makes your code more portable. AUTHOR
Dave Rolsky, <autarch@urth.org> perl v5.12.1 2009-09-22 Log::Dispatch::Syslog(3)
All times are GMT -4. The time now is 05:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy