Re: open_log_file() does not redirect tracebacks
Thomas Schultz <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi! * Jörg Sommer <[email protected]> [Tue 2006-09-05 07:07 PM] : > I get an error message ???Unable to cast Integer_Type to String_Type.??? and > would like to know where it comes from. Therefor I've added > open_log_file() to one of my SLang files. The this log file remain empty. > Isn't it for saving the log messages, those generated by a traceback? > BTW: I set _traceback = 1. Works for me (slrn CVS HEAD, slang 2.0.6): [tststs@moonlight tststs]$ cat try.sl open_log_file("traceback"); _traceback = 1; message(1); Within slrn: Ctrl-X ESC () = evalfile("try.sl"); [tststs@moonlight tststs]$ cat traceback Traceback: called from eval: () = evalfile("try.sl"); Traceback: message /home/tststs/try.sl:3:<top-level>:Type Mismatch Traceback: evalfile ***string***:1:<top-level>:Type Mismatch -- Thomas Schultz <[email protected]> News on slrn: http://slrn.sf.net/news.html .-----------------------------. [2004-10-07] Released slrn 0.9.8.1 | Home of the slrn newsreader | [2003-08-25] Released slrn 0.9.8.0 | http://slrn.sourceforge.net | [2003-08-19] New slrn FAQ available ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642