Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
As part of my first official Python project, I have created a Log reader which reads Apache server logs from 3 different servers. The log reader application finds the matching Error Key words which appear in the log file such as java.lang.OutOfMemoryError, Java heap space , Index out of bounds etc.

I have written python code to schedule the log reader every 30 minutes and finds the errors which happened in the last 30 minutes and then email the error detail to the specified email ids.

Email is send to certain mail ids by separating it server as well as error wise.

I would like to the best practices one should follow to make a perfect Log reader, Please help.

Thanks in Advance
Chikku Jacob

What I have tried:

My application is now working fine in production, but I am looking for options to make it better. Please share the best practices one should follow for creating such an utility program.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900