[hunchentoot-devel] Returning a unicode string from a handler fails silently

Ron Garret ron at flownet.com
Sat Jan 23 17:05:47 UTC 2010


On Jan 23, 2010, at 8:49 AM, Ron Garret wrote:

> 
> On Jan 23, 2010, at 8:38 AM, Edi Weitz wrote:
> 
>> On Sat, Jan 23, 2010 at 5:21 PM, Ron Garret <ron at flownet.com> wrote:
>>> 
>>> On Jan 23, 2010, at 2:25 AM, Li Gong wrote:
>>> 
>>>> By default, the debugger is not entered, but the error info appears in /tmp/hunchentoot.log,
>>> 
>>> Nope:
>> 
>> Most things in Hunchentoot are documented and so is logging:
>> 
>> http://weitz.de/hunchentoot/#logging
>> 
>> Logging to /tmp/hunchentoot.log was the default behaviour for pre-1.0
>> versions (on Unix-y systems), but it isn't anymore.
>> 
> 
> Yes, I RTFM.  I have *show-lisp-errors-p* set to T.  Errors in other parts of the code show up just as I would expect.  Log messages show up in the AltConsole.  I've been happily debugging all manner of issues all day long.  But this particular problem produces no debugging output that I can find.

OK, I figured it out.  What I was seeing on the AltConsole was not logging output, it was the output of print statements in my code.  I set *MESSAGE-LOG-PATHNAME* and all is now well.

rg





More information about the Tbnl-devel mailing list