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