Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sendpage::keeslog(3pm) [debian man page]

Sendpage::KeesLog(3pm)					User Contributed Perl Documentation				    Sendpage::KeesLog(3pm)

NAME
Sendpage::KeesLog - implements a logging subsystem SYNOPSIS
$log=Sendpage::KeesLog->new(); $log->on(); $log->do('crit',"Something bad happened"); $log->reconfig($config); $log->do('debug',"I'm doing things"); $log->off(); $log->do('info',"Look at me, I'm writing to stderr now"); DESCRIPTION
This module is used in sendpage(1). BUGS
I need to write more docs for it. AUTHOR
Kees Cook <kees@outflux.net> SEE ALSO
perl(1), sendpage(1), Sendpage::KeesConf(3), Sendpage::Modem(3), Sendpage::PagingCentral(3), Sendpage::PageQueue(3), Sendpage::Page(3), Sendpage::Recipient(3), Sendpage::Queue(3) COPYRIGHT
Copyright 2000 Kees Cook. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2008-01-03 Sendpage::KeesLog(3pm)

Check Out this Related Man Page

Sendpage::PageQueue(3pm)				User Contributed Perl Documentation				  Sendpage::PageQueue(3pm)

NAME
PageQueue.pm - extends the Queue module, adding the Page module smarts SYNOPSIS
$pqueue=Sendpage::PageQueue($config); # read waiting pages while ($fh=$pqueue->getPage($db)) { # build up $page @stuff=$pqueue->pullPageFromFile($db,$fh); $page=Sendpage::Page->new(@stuff); # do something to change $page # write changes back to queue $pqueue->writePage($page); $pqueue->fileDone(); } # add a new page $fh=$pqueue->addPage($page); DESCRIPTION
This is a module for use in sendpage(1). BUGS
Obviously, needs more docs. AUTHOR
Kees Cook <kees@outflux.net> SEE ALSO
perl(1), sendpage(1), Sendpage::KeesConf(3), Sendpage::KeesLog(3), Sendpage::Modem(3), Sendpage::PagingCentral(3), Sendpage::Page(3), Sendpage::Recipient(3), Sendpage::Queue(3) COPYRIGHT
Copyright 2000 Kees Cook. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2008-01-03 Sendpage::PageQueue(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Perl scripting

Can anyone help ..... I am prettey new to perl but would like to do the following :- write a script that would open one or more log files and select a few lines from each and create a new file with the selected lines from the logs. Thanx (4 Replies)
Discussion started by: jikyj
4 Replies

2. Shell Programming and Scripting

modifying the writing of a log...

Hi , i would submit the following way of writing into a log : i'm using Lotus Notes under AIX and a lotus system script is writing the all notes log this way : 11/04/2005 15:34:36 Router: Message 00496E70 transferred to XHUB003A/SRV/EDFGDF/FR for xxx@yyyyyy.com via Notes 11/04/2005... (2 Replies)
Discussion started by: Nicol
2 Replies

3. Shell Programming and Scripting

how to write stderr in a subroutine log file?..

perl 5.6.1 in win2000: my program uses a subroutine which will write log file. i will call that sub routine like this &log_message("the file $inputfile opened"); what should i do to write the stderr on the same log file itself.. i tried to pass the stderr to the subroutine like ... (1 Reply)
Discussion started by: sekar sundaram
1 Replies

4. Shell Programming and Scripting

redirect output to log file

hello all, I'm invoking the program generate-report using backticks from my perl program and redirecting the output to the log file sge-stderr.log. But when i check the process using ps command it is spawing two processes where the below code is parent process and the program generate-report as... (2 Replies)
Discussion started by: kalyanraj
2 Replies

5. UNIX for Advanced & Expert Users

p570 Capabilities

Hi there. I've been tasked with making a new design for our Unix systems :eek: Now the question I have is; How many LPARs can a p570 hold WITHOUT using a VIO Server. Many Thanks Kees (1 Reply)
Discussion started by: KeesH
1 Replies

6. UNIX for Advanced & Expert Users

subsystem failure

aix 4.3 I get the following error from the errpt log BD797922 0306170008 P H enclosure0 SUBSYSTEM FAILURE I'm not clear on this kind of error. It never happened to me. What do this errors mean, and how do I clear or solve them? Any help is appreciated. (2 Replies)
Discussion started by: andwhat
2 Replies

7. Shell Programming and Scripting

Perl: FH and multiple writes

I found this logging subroutine on the net that I want to use but despite trying many things, I cannot figure out how to get the date in front of the logged text. Ideally what I'm looking for is a line that looks something like this: Wed Aug 20 18:17:29 PDT 2008 - my logging info here. my... (2 Replies)
Discussion started by: gctaylor
2 Replies

8. Shell Programming and Scripting

time diffrence between two lines in a log file

Hi Experts, I am writing a shell/Perl script tp get a time diffrence of two lines in a log file. I am pasting a snippet of my log file, how it look likes. Sun Apr 26 02:11:03.162 2009 Greenwich Standard Time LOW: pid 488 tid 2072: 0: 251360: calling ARRF_LIB_Evaluate. Sun Apr 26... (24 Replies)
Discussion started by: namishtiwari
24 Replies

9. Solaris

Xserver doesn't allow log in

I wanted to modify my Xstarup file so I can have Croatian letters but unfortunately I am unable to log in . What I have done is cp /dev/null /etc/dt/config/Xstartup cat >> /etc/dt/config/Xstartup <<%EOF% keycode 34 = bracketleft braceleft scaron Scaron keycode 35 = bracketright... (8 Replies)
Discussion started by: solaris_user
8 Replies

10. Shell Programming and Scripting

Perl's buffered I/O is causing me to miss latest log file entries in log colorizer. How to fix?

I've been finding myself using a log file colorizer written in perl to reformat and colorize the output from many different programs. Mainly, however, I use it to make the output from "tail -f" commands more readable. The base perl script I use is based on "colorlogs.pl" available from the... (1 Reply)
Discussion started by: rcsteiner
1 Replies

11. Shell Programming and Scripting

Array in Perl - Detect several file to be in one array

Hi everyone I have one question about using array in perl. let say I have several log file in one folder.. example test1.log test2.log test3.log and the list goes on.. how to make an array for this file? It suppose to detect log file in the current directory and all the log file will... (3 Replies)
Discussion started by: sayachop
3 Replies

12. Shell Programming and Scripting

Getting info from a huge log file

Hello everyone. I am having problem with parsing a data from the huge log file. the log file is an application log with around 5 Gb in size and it rotates every midnight. Now if the application encountered such issue, it sends an email with a specific info but without further details. So I... (13 Replies)
Discussion started by: cwiggler
13 Replies

13. Shell Programming and Scripting

make the name of file and fetch few things from log file

Hello All, I am working on a script where I need to fetch the value from a log file and log file creates with different name but few thing are common DEV_INFOMGT161_MULTI_PTC_BLD01.Stage_All_to_stp2perf1.042312114644.log STP_12_02_01_00_RC01.Stage_stp-domain_to_stp2perf2.042312041739.log ... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies

14. Shell Programming and Scripting

[Solved] Perl, Deep recursion? exit() ignored?

Hi all, I am calling a subroutine which checks if a log file is writeable and if not, prints something stdout and also log something into the same file, which doesn't work neither of course. Anyway, there is enough exit() calls, that should stop it working, but the problem is, that I get the... (5 Replies)
Discussion started by: zaxxon
5 Replies

15. Shell Programming and Scripting

Back up log files using tar

Hi, I need some help writing a perl script to tar all log file to a directory and then delete the log files. Can some one please help me on this? I m Not very good with perl scripting... Thanks KK (4 Replies)
Discussion started by: karthikk0508
4 Replies