Tags:
create new tag
view all tags
A present error and warning can be returned directly to users. However, there is no explicit mechanism for logging warnings (that perhaps the user does see) or errors.

Such logs can get very big, but on balance I think they are a good idea.

Could be implemented as TWiki::writeWarning() etc

Thoughts?

-- JohnTalintyre - 29 Mar 2001

Great idea. I'd be tempted to say that when making a system call any error output that is not caught should also be logged.

System calls that are known to correctly produce stuff on stderr could be explicitly excluded.

-- MartinCleaver - 29 Mar 2001

I'm playing with a new method in TWiki.pm called writeWarning. So, it's the same as writeDebug, but writes to warning.txt, only differce is that if name is not defined then there's no output. System administrators should monitor and clean out.

-- JohnTalintyre - 24 May 2001

Sounds good, go for it!

-- PeterThoeny - 24 May 2001

Implemented in Sep2001 release (or maybe Dec2001, definitely in latter).

-- RichardDonkin - 03 Mar 2002

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2002-03-03 - RichardDonkin
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.