Senior Trainer-Instructor- Developer C++ / C UNIX & Web-JAVA / J2EE,PhD or Masters
WSI Nationwide, Inc.
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

File based, custom logging
In my opinion, the best thing about working in the development phase is the liberty to throw your errors to the browser, without too many worries of prying eyes. Once your project is live, however, these errors can be very risky business and naturally they should be supressed. This carries with it the disadvantage of complicating the debugging process if something goes wrong. One great way to suppress these demons, without losing any valuable information, is to log your errors to a private file on the server.
In this article I will show you a very basic way of logging to your own file using PHP's logging functions. It is intended only as a start and by no means a complete thesis on logging as a whole. I intend to continue the discussion in follow up articles as time allows, so please check back often.
[ Next Page ]


Comments:
unable to write to a logger without refreshinlavanya02/17/05 07:05
And now the description is wrong.Sex Beplaced Ru 12/05/04 04:25
Carlos Carlos10/27/02 14:13
RE: waste of timeDarren Casey10/18/02 17:51
RE: waste of timeVincent10/12/02 11:25
RE: waste of timeBDKR10/10/02 10:22
RE: waste of timeSteve10/10/02 10:10
Great!BDKR10/09/02 14:26
How about syslog?Kurt10/08/02 01:44
waste of timeJonathan10/07/02 13:41
RE: unable to write file.Adam10/03/02 11:08
RE: unable to write file.Jason10/02/02 08:56
RE: unable to write file.Jeremy Hilton10/02/02 03:28
unable to write file.Adam10/01/02 13:15
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.