Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

device::modem::log::file(3pm) [debian man page]

Device::Modem::Log::File(3pm)				User Contributed Perl Documentation			     Device::Modem::Log::File(3pm)

NAME
Device::Modem::Log::File - Text files logging plugin for Device::Modem class SYNOPSIS
use Device::Modem; my $box = Device::Modem->new( log => 'file', ... ); my $box = Device::Modem->new( log => 'file,name=/var/log/mymodem.log', ... ); ... DESCRIPTION
This is meant for an example log class to be hooked to "Device::Modem" to provide one's favourite logging mechanism. You just have to implement your own "new()", "write()" and "close()" methods. Default text file is "/var/log/modem.log". On Windows platforms, this goes into "%WINBOOTDIR%/temp/modem.log". By default, if the folder of the log file does not exist, it is created. This class is loaded automatically by "Device::Modem" class when an object is instantiated, and it is the default logging mechanism for "Device::Modem" class. Normally, you should not need to use this class directly, because there are many other zillions of modules that do logging better than this. Also, it should be pondered whether to replace "Device::Modem::Log::File" and mates with those better classes in a somewhat distant future. REQUIRES Device::Modem EXPORTS None AUTHOR
Cosimo Streppone, cosimo@cpan.org COPYRIGHT
(C) 2002 Cosimo Streppone, <cosimo@cpan.org> This library is free software; you can only redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Device::Modem Device::Modem::Log::Syslog perl v5.8.8 2005-04-30 Device::Modem::Log::File(3pm)

Check Out this Related Man Page

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

NAME
PagingCental.pm - implements the TAP protocol over the Modem module SYNOPSIS
$pc=Sendpage::PagingCentral->new($config,$name); $rc=$pc->start_proto(); $rc=$pc->send($pin,$text); ... $pc->disconnect(); $rc=$pc->deliver($page); $pc->SendMail($to,$from,$cc,$errorsto,$subject,$body); DESCRIPTION
This is a module for use in sendpage(1). BUGS
Need to write more docs. AUTHOR
Kees Cook <kees@outflux.net> SEE ALSO
perl(1), sendpage(1), Sendpage::KeesConf(3), Sendpage::KeesLog(3), Sendpage::Modem(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::PagingCentral(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Log file - permission

Dear all I have installed Openwebmail 1.64 on Mandrake Linux 8.2. This application creates a log file at /var/log with the name openwebmail.log. The application needs that the permission of this log file should be as follows: owner - root group - mail mode - 660 Even though i set the... (6 Replies)
Discussion started by: ajkiruba
6 Replies

2. Shell Programming and Scripting

Urgent: Filtering a File

Hi all I need to write a small shell script, where we have one Log file and another File 1 containing some tags in it. My log file can have multiple tags in it which can be other than the ones that are part of File 1. So I need to write a script that will run and test whether the tags... (5 Replies)
Discussion started by: HItesh
5 Replies

3. Shell Programming and Scripting

script to check for a condition inside a file

Hi I am writing a script file which sends the log files along with their size in a folder named log to a file called temp.log using the following cmd: ls -st 190_GSTV_HUX_003QISCGSK026** >> /home/user/temp.log the temp.log looks like this: 16 190_GSTV_HUX_003QISCGSK026_message070321.log ... (11 Replies)
Discussion started by: kiran1112
11 Replies

4. UNIX for Dummies Questions & Answers

Analysing Log Files?

I'm not sure if this query is relevant to this forum but here goes anyways... I want analyse log files that do not appear to be of standard format. I have tried using Analog but cannot config it to read the files. Does anyone have any advice on working with log files taken from a Unix... (6 Replies)
Discussion started by: Sepia
6 Replies

5. UNIX for Dummies Questions & Answers

Log File Writing and Reading

Hi all, I have the following shell script code which tries to sftp and writes the log into the log file. TestConnection () { echo 'Connection to ' $DESTUSERNAME@$DESTHOSTNAME $SETDEBUG if ]; then rm $SCRIPT ; fi touch $SCRIPT echo "cd" $REMOTEDIR >> $SCRIPT echo "quit" >>... (10 Replies)
Discussion started by: valluvan
10 Replies

6. Shell Programming and Scripting

Log File

Hi All, Having a log file with thousounds of lines as: 01-JAN-2009 15:06:06 15.64.3.22 01-JAN-2009 15:06:07 15.64.3.22etc... How can i output a much smaller filtered list: Grab the ips i need (do the avg in a time range of 30 min for example). And then output the Timestamp and Ip... (6 Replies)
Discussion started by: x-plicit78
6 Replies

7. UNIX for Dummies Questions & Answers

Script For Deleting Contents of "Live" Log File

In our shop, we have a situation where a log file from our interface engine software has begun maxing out in file size (reaching the 32-bit "2147483647" limit). Currently, the only way to rectify this is to stop the interface and restart it, which generates a new log. Easy enough, but the... (6 Replies)
Discussion started by: rjhjr64
6 Replies

8. Shell Programming and Scripting

Using SED/AWK to Summarize Log File in 10min Intervals

I have this huge log file on my linux box that gets generated every day. I'm able to extract the information I need; however I really would like it to be broken down every 10mins. Log File Snippet 01:23:45 MARYHADA Maryhadalittle.lamb(): fleece as white as snow 1394 for and everywhere that... (8 Replies)
Discussion started by: ravzter
8 Replies

9. Shell Programming and Scripting

Problem - Log File

Hi, I am in trouble ... again :wall: I formating a log file as .txt from Unix (solaris 9) and then I compress it with gzip and I use uuencode and send it in an email. gzip -c ${fic_report} | uuencode Report_File.gz > ${attachment_file} my problem is when I received the mail with the... (6 Replies)
Discussion started by: Aswex
6 Replies

10. Shell Programming and Scripting

Use grep sed or awk to extract string from log file and put into CSV

I'd like to copy strings from a log file and put them into a CSV. The strings could be on different line numbers, depending on size of log. Example Log File: File = foo.bat Date = 11/11/11 User = Foo Bar Size = 1024 ... CSV should look like: "foo.bat","11/11/11","Foo Bar","1024" (7 Replies)
Discussion started by: chipperuga
7 Replies

11. UNIX for Dummies Questions & Answers

User account logging

Hi - I want to log commands typed by oraapps user with time into some log file on runtime. HISTTIMEFORMAT="%d/%m/%y %T " works but any one with oraapps user can delete the history. OS : RHEl 5.6 Any help is appreciated. (5 Replies)
Discussion started by: oraclermanpt
5 Replies

12. Shell Programming and Scripting

Help needed to extract distinct logs from a Log File

Hi, I urgently need some help how to extract distinct entries from a Log file. The Log File may have same error occuring many times so how do i count the occurance of an error in file and also extract out distinct errors in a file. Eg:- I have a file name A.log it contains entries as below:-... (5 Replies)
Discussion started by: roro
5 Replies

13. HP-UX

Hitachi Device Manager Agent for HPUX

Hi there, i am looking to download the Device manager agent for HPUX 11.31. Where we can find it. I've tried on google and Hitachi web sites and spent several hours, i just couldn't find anything at all. Please help. Thank you very much! (8 Replies)
Discussion started by: lamoul
8 Replies

14. Hardware

Modem connection between two local PCs

Hello everybody, I didn't know were to post this, so i posted here in hardware section. I'm having some troubles while trying to interconnect two pc's via modem (soft fax modem, RJ-11 jack). One is a Handheld PC (HP Jornada 728) with a single fax modem slot, and the other computer is a PC with... (6 Replies)
Discussion started by: Zykl0n-B
6 Replies

15. Shell Programming and Scripting

Parse A Log File

Hello All, Below is the excerpt from my Informatica log file which has 4 blocks of lines (starting with WRITER_1_*_1). Like these my log file will have multiple blocks of same pattern. WRITER_1_*_1> WRT_8161 TARGET BASED COMMIT POINT Thu May 08 09:33:21 2014... (13 Replies)
Discussion started by: Ariean
13 Replies