LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-19-2006, 12:01 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
Thumbs up 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:09 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Search this thread ...

Last edited by Bruce Hill; 07-19-2006 at 01:11 AM.
 
  


Reply



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
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
Email notifications Manadien LQ Suggestions & Feedback 4 07-22-2003 08:42 PM
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 > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:38 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