0

I need some help in finding some log pattern in apache logs related to application cash? Is there a specific key word attached related to this event e.g 'crash'.

Thanks.

5
  • This would need a lot more information in the question to be helpful I'm afraid. What is the application? What language/system? What type of crash? etc
    – joesk
    Commented Feb 11, 2013 at 17:18
  • @joesk thank you for the answer. The application is purely web-application mostly with db connectivity, written in php or asp.net
    – asadz
    Commented Feb 11, 2013 at 17:20
  • @user970533 - You could look in the error.log file(s) for 'Apache service started' or similar, when you KNOW Apache was already running. Usually, a crash is silent in the sense that Apache restarts immediately and it can be hard to detect. Specifically if an APPLICATION crashes, you'll need to specify the exact problem: if you mean the App has some sort of malfunction itself, or if Apache is to blame. We cannot answer specifically without this.
    – ionFish
    Commented Feb 11, 2013 at 20:11
  • @ionFish i respect this, so its all dependent upon application nature, different application produces different sounds (error). The best way it can be done if application itself make custom logs messages i suppose
    – asadz
    Commented Feb 11, 2013 at 20:55
  • Yes, if your APP crashes but NOT Apache, then you'll have to perhaps look for PHP logs or something.
    – ionFish
    Commented Feb 11, 2013 at 20:56

1 Answer 1

1

You could look in the error.log file(s) for 'Apache service started' or similar, when you KNOW Apache was already running. Usually, a crash is silent in the sense that Apache restarts immediately and it can be hard to detect. Specifically if an APPLICATION crashes, but NOT Apache, then you'll have to perhaps look for PHP logs or something.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.