LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 07-19-2006, 12:02 AM   #1
richikiki
Member
 
Registered: Mar 2005
Location: Montréal, Québec, Canada
Distribution: Slackware 12.1 x32, 13.1 x64
Posts: 90

Rep: Reputation: 15
Talking how to handle errors/notifications on scripts?


I'm wondering how to handle errors/notifications on scripts.

Currently, I'm working in the analysis of systems which interact together. Right now there is a mess because they neither log information nor parse the data before process. Moreover some scripts send email notification which is a headache because each script do so and it is almost impossible to change each script in order to snooze.

Code:
I'm thinking into create logs file telling about the process on the script and log the information on specific files like:
SCRIPTNAME_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND.log
Then use the another entity (program, software, script) to check the log files looking for any error.

Code:
Q1: Any one has a better idea approach to accomplish this task?.

Q2: Do you know a good log analyzer (program, software, script), which is possible to modify and customize to my needs.
Greetings.
 
Old 07-19-2006, 01:10 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
Have you read this thread ?
 
Old 07-19-2006, 01:36 AM   #3
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
lol! Couldn't have said it better myself Chinaman.
 
Old 07-19-2006, 03:57 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to handle errors/notifications on scripts? richikiki Programming 1 07-19-2006 01:09 AM
CGI scripts - Persistent Server 500 errors DLHOMME Linux - Networking 9 05-22-2006 02:56 PM
CGI scripts - Persistent Server 500 errors DLHOMME Linux - Networking 1 05-19-2006 07:56 AM
I am unable to handle some website scripts on my Linux server MandrivaUser Linux - Software 1 02-01-2006 09:55 AM
Samba is behaving poorly and causing "unable to handle kernel paging request" errors system Linux - Networking 6 01-26-2002 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration