GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SyslogScan::WhereIs(3) User Contributed Perl Documentation SyslogScan::WhereIs(3)

SyslogScan::WhereIs::guess -- return full path of syslog file where mail messages are logged

    my $syslogPath =
        new SyslogScan::Whereis::guess("/etc/syslog.conf");

Scans a syslog configuration file to try to figure out where "mail.info" messages are sent. Default configuration file is "/etc/syslog.conf".

Returns undef if the syslog file cannot be determined.

It might have been more elegant to return an array of syslog files; this would, as a bonus, permit multiple syslogs to be returned if mail messages go to more than one place.

The author (Rolf Harold Nelson) can currently be e-mailed as rolf@usa.healthnet.org.

This code is Copyright (C) SatelLife, Inc. 1996. All rights reserved. This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

In no event shall SatelLife be liable to any party for direct, indirect, special, incidental, or consequential damages arising out of the use of this software and its documentation (including, but not limited to, lost profits) even if the authors have been advised of the possibility of such damage.

SyslogScan::DeliveryIterator
1996-09-18 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.