The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Siebel::Srvrmgr - utilities to be used with the Siebel srvrmgr program

DESCRIPTION

The distribution Siebel-Srvrmgr was created to define a set of tools to interact with the srvrmgr program from Siebel.

It was started initially to create a parser for the project Siebel Monitoring Tools (http://code.google.com/p/siebel-monitoring-tools/) and later was grown to a set of more generic functionality, thus making sense to be published at CPAN.

This package used to be only Pod, but since release 0.09 it has a logging feature. See logging_cfg for details.

Since release 0.15, this distribution breaks API compabitility with previous releases. Consider yourself warned.

CLASS METHODS

logging_cfg

Returns a string with the configuration to be used by a Log::Log4perl instance.

The configuration of Log::Log4perl is available after the __DATA__ code block of this package. Logging is disabled by default, but it can be enabled by only commenting the line:

    log4perl.threshold = OFF

with the default "#" Perl comment character.

Logging is quite flexible (see Log::Log4perl for details) but the default configuration uses only FATAL level printing messages to STDOUT.

It is also possible to set a different Log::Log4perl configuration file by setting the environment variable SIEBEL_SRVRMGR_DEBUG with the complete location to the configuration file. This module will look first for this variable configuration and if found, will try to use the configuration from there.

gimme_logger

This method returns a Log::Log4perl::Logger object as defined by the logging_cfg method.

It expects as parameters the following items:

  • package: string with the name of the package that wants a logger. This is a required parameter.

The configuration will not be read again after initialization.

SEE ALSO

The classes below might give you a introduction of the available classes and features:

AUTHOR

Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

This file is part of Siebel Monitoring Tools.

Siebel Monitoring Tools 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 3 of the License, or (at your option) any later version.

Siebel Monitoring Tools is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Siebel Monitoring Tools. If not, see <http://www.gnu.org/licenses/>.