1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Help with Logging

Discussion in 'Software Development' started by Tava, Jan 20, 2011.

Thread Status:
Not open for further replies.
  1. Tava

    Tava Thread Starter

    Joined:
    Dec 9, 2008
    Messages:
    12
    Hi All,

    Not sure if i'm in the right area or not, if not sorry.

    We currently have a sale system (outsourced)which writes all its logs to a text file on our server. When the system has an error in the Text file it states it by using keywords such as "Error: 101 - Time out" etc, but we do not know it has had an error until its too late by one of the following notices.

    1 - monitor the text files by opening it and scrolling through (impossible to do 8 hrs a day)

    2 - Customers call up and say they are having errors. (by then its too late)


    Im after the possibility if we can somehow get a report by email when a keyword such as "ERROR" has been written to the text file - therefore allowing us to fix the issue before reports start coming through for downtime.

    I've searched google for answers, but not sure what to exactly look for.

    Any help would be appreciated.

    Thank You,
    Tava
     
  2. OBP

    OBP

    Joined:
    Mar 8, 2005
    Messages:
    19,895
    What software packages do you have?
    Can you provide an example of the text file's layout?
    I don't think you can have a Real Time analysis of the file, but you could scan it say every 5 minutes to check for the word Error.
     
  3. ehymel

    ehymel

    Joined:
    Aug 12, 2007
    Messages:
    696
    Tava,

    It would be helpful for us to know what kind of server capabilities you have... for example, PHP on Linux? ASP.net on Windows?
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/975899

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice