Menu

#11 Improved logging function, again

open
nobody
None
3
2003-10-04
2003-10-04
No

Hi.

This code is far more effficent than the courently used.
There is no need to open a file for each logging request, and
there is no reason to open php://stdout when logging to
stdout - print dose the same thing.

Mads

Discussion

  • Mads Sülau Valstorp Jørgensen

    Logging function

     
  • Mads Sülau Valstorp Jørgensen

    Logged In: YES
    user_id=331464

    Oops - forgot file

     
  • Mads Sülau Valstorp Jørgensen

    • priority: 5 --> 3
     
  • Mads Sülau Valstorp Jørgensen

    Logged In: YES
    user_id=331464

    oops again, the "patch" should open the log file as "a", not "w"

     

Log in to post a comment.

MongoDB Logo MongoDB