Net::DRI::Logging::Syslog(3) SYSLOG Logging Operations for Net::DRI

VERSION

This documentation refers to Net::DRI::Logging::Syslog version 1.01

Read e.g. with pod2text Net/DRI/Logging/Syslog.pm|less

SYNOPSIS

See Net::DRI::Logging

DESCRIPTION

This class dumps all logging information to SYSLOG.

EXAMPLES

        $dri=Net::DRI->new({cache_ttl => 10,
                logging => ['syslog',
                                        {
                                        level => 'warning',
                                        xml_indent => 0,
                                        ident => 'NetDRI',
                                        priority => 'info',
                                        facility => 'local3',
                                        options => 'pid,nofatal',
                                        logopened => 0
                                        }
                                        ]
        });
        The values above are the default
- level, xml_ident
refer to Net::DRI::Logging
- ident, priority, facility, options
refer to Sys::Syslog
- logopened
Value 1: Sys::Syslog::openlog() already called, so do not call it in this module, but still specify ident, priority, and facility, if the defaults are not wanted

SUBROUTINES/METHODS

All mandated by superclass Net::DRI::Logging.

DIAGNOSTICS

None.

CONFIGURATION AND ENVIRONMENT

None.

DEPENDENCIES

This modules has to be used inside the Net::DRI framework and needs the following components:

Sys::Syslog

Net::DRI::Logging

INCOMPATIBILITIES

None

BUGS AND LIMITATIONS

No known bugs. Please report problems to author (see below) or use CPAN RT system. Patches are welcome.

SUPPORT

For now, support questions should be sent to:

<[email protected]>

Please also see the SUPPORT file in the distribution.

AUTHOR

Jorgen Thomsen, <[email protected]>

LICENSE AND COPYRIGHT

Copyright (c) 2009 Jorgen Thomsen <[email protected]>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

See the LICENSE file that comes with this distribution for more details.