NetTalk Central

Author Topic: Logging / Monitoring / Managing / Debugging  (Read 2475 times)

JohanR

  • Sr. Member
  • ****
  • Posts: 358
    • View Profile
    • Email
Logging / Monitoring / Managing / Debugging
« on: June 14, 2012, 04:17:40 AM »

Hi,

I know this is quite a broad topic, but extremely important for a live machine.
Just wanted to what other programmers are doing or what is important to implement in a live site.
This is more from a stability/reliability point of view instead of a tracking point of view.

I would like to add system wide logging to make sure that if I have a problem then there is enough information to know what is going on and where to start looking for the problem.

My NTWS is live currently but still very basic,
I am busy adding functionality on a weekly basis and would like to make sure that as I implement new functionality
that it will warn me if a user has a problem.

eg.  I have found now, that I seem to have a problem where the site just hangs from a user perspective,
When I was testing it seemed fine, but only discovered it later on through testing the live site from home on a regular basis.

How / where can I trap this to let me know if something is going wrong while a user is using the site?
Are there specific embeds I can use that will throw an exception if it takes longer than 2secs for a page,
or if the little "magic circle" keeps running for longer than a certain time etc...

Are there ways to monitor this and create an entry in a tps logfile if something is looking suspicious?

thanks

Johan

















Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11239
    • View Profile
Re: Logging / Monitoring / Managing / Debugging
« Reply #1 on: June 14, 2012, 06:12:11 AM »
GPF Reporter is very good for trapping GPF's.
As is MessageBox for trapping any MESSAGE popups.

But there's no magic "hey if my program isn't working right then tell me" switch - um, mostly because I have no idea how you define "working right".

cheers
Bruce