> -----Original Message----- > > My aim was to ask the user to replace > the media if it is full with a new one or choose another location for the > logfile.
Yeah, my case should be simpler than that. If I can't write the log, I'll probably just spit something to console and exit. > To detect an exception or another error condition, I did add a > custom errorhandler (as Kevin suggested). I'll take a stab at that. Thanks for the code snippet - that may well simplify things for me. Thanks! ----------------------------------------------------------------- Colin MacDonald | Software Developer | Templar Corporation | --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.380 / Virus Database: 213 - Release Date: 7/24/2002 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>