From: Bill Kelly Date: 2008-04-25T00:36:00+09:00 Subject: Re: Email/SMTP::NET Problems From: "ara.t.howard" > > On Apr 24, 2008, at 8:58 AM, Brantley Shields wrote: > >> I no longer have access to the logs so I can't reproduce the error, > > you might want to mention, to your > boss, that developing web apps without log access is a giant waste of > money - yours and ours. Agreed. However, if you really don't have access to the log files, it may help to put a line like this at the top of your script: orig_stderr = $stderr; $stderr = File.open("mylog.log", "a"); $stderr.sync = true This won't help if your code contains a syntax error such that Ruby can't compile your code at all. However, it will redirect *runtime* error output to "mylog.log". (Obviously you may need to specify a full path to somewhere on the system you have permission to create files. Like "/home/brantley/mylog.log" or something...) Hope this helps, Bill