Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

log::handler::plugin::config::general(3pm) [debian man page]

Log::Handler::Plugin::Config::General(3pm)		User Contributed Perl Documentation		Log::Handler::Plugin::Config::General(3pm)

NAME
Log::Handler::Plugin::Config::General - Config loader for Config::General. SYNOPSIS
use Log::Handler::Plugin::Config::General; my $config = Log::Handler::Plugin::Config::General->get_config( $config_file ); ROUTINES
get_config() Expect the config file name and returns the config as a reference. CONFIG STYLE
<file> <mylog> fileopen = 1 reopen = 1 permissions = 0640 maxlevel = info mode = append timeformat = %b %d %H:%M:%S debug_mode = 2 filename = example.log minlevel = warn message_layout = %T %H[%P] [%L] %S: %m newline = 1 </mylog> </file> PREREQUISITES
Config::General EXPORTS
No exports. REPORT BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>. If you send me a mail then add Log::Handler into the subject. AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHT
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-11-21 Log::Handler::Plugin::Config::General(3pm)

Check Out this Related Man Page

Log::Handler::Output::Screen(3pm)			User Contributed Perl Documentation			 Log::Handler::Output::Screen(3pm)

NAME
Log::Handler::Output::Screen - Log messages to the screen. SYNOPSIS
use Log::Handler::Output::Screen; my $screen = Log::Handler::Output::Screen->new( log_to => "STDERR", dump => 1, ); $screen->log($message); DESCRIPTION
This output module makes it possible to log messages to your screen. METHODS
new() Call "new()" to create a new Log::Handler::Output::Screen object. The following options are possible: log_to Where do you want to log? Possible is: STDOUT, STDERR and WARN. WARN means to call "warn()". The default is STDOUT. dump Set this option to 1 if you want that the message will be dumped with "Data::Dumper" to the screen. log() Call "log()" if you want to log a message to the screen. Example: $screen->log("this message goes to the screen"); validate() Validate a configuration. reload() Reload with a new configuration. errstr() This function returns the last error message. PREREQUISITES
Data::Dumper Params::Validate EXPORTS
No exports. REPORT BUGS
Please report all bugs to <jschulz.cpan(at)bloonix.de>. If you send me a mail then add Log::Handler into the subject. AUTHOR
Jonny Schulz <jschulz.cpan(at)bloonix.de>. COPYRIGHT
Copyright (C) 2007-2009 by Jonny Schulz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-11-21 Log::Handler::Output::Screen(3pm)
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

dmesg freebsd

hey,i use freeBSD 4.7stable, dmesg returns me a tons of info like: ax R *Handler Int 16 aio_max R *Handler Int 17 aio_prio_delta_max R *Handler Int 18 delaytimer_max R *Handler Int 19 mq_open_max R *Handler Int 20 pagesize R *Handler Int 21 rtsig_max R *Handler Int... (6 Replies)
Discussion started by: hachik
6 Replies

2. HP-UX

Config Files

Does anyone have a list of key config files and the respective paths for HP-UX? Or does anyone know where I can get a list similar to this? Thanks, TOdd (0 Replies)
Discussion started by: toddjameslane
0 Replies

3. Linux

Linux Redhat ES 4.0 - DNS Config Issues

(11 Replies)
Discussion started by: AbhijithS
11 Replies

4. Shell Programming and Scripting

Config Generation

I'm looking for good ways to handle config generation. I have been rolling my own for a few years now, but I'm wondering if there is a better way and would like to get some advice from anyone who has any ideas or experience in doing this. Here are some things I want to achieve in generating... (1 Reply)
Discussion started by: humbletech99
1 Replies

5. Cybersecurity

Nagios + Event Handler + Java program

(0 Replies)
Discussion started by: mzahmed
0 Replies

6. Shell Programming and Scripting

using perl config files

Hi, I have 2 perl SubRoutines (sub 1 and sub 2). I created two perl modules for these (Sub1.pm and Sub2.pm). How can I include these in a config file (say Config.cfg) and call the config file in my main script Rename.pl to use the 2 subroutines? Right now here are the content of Config.cfg... (1 Reply)
Discussion started by: CCFP
1 Replies

7. Shell Programming and Scripting

Read Data from Config file using Perl

Hi All, Can anyone please explain me how to read data from config file in Perl. Suppose i have a config file named cfile. The data in config file is name=parth lname=mittal user=2007 hostname=fluoride username=parthmittal password=XXXXXX account=unix url=www.unix.com ... (2 Replies)
Discussion started by: parthmittal2007
2 Replies

8. Shell Programming and Scripting

.Config file in perl

Hi can anybody help me in how to read .config file in Perl, which module is used, and some help in coding. (10 Replies)
Discussion started by: parthmittal2007
10 Replies

9. Shell Programming and Scripting

Zip a file with path

zip /var/log/mylog.log mylog.1.log but its not working (5 Replies)
Discussion started by: Froob
5 Replies