Re: [racket-users] Re: Logging and stdout in web-server

2016-11-14 Thread Luke
That worked just fine, thanks Jay! Luke -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit

Re: [racket-users] Re: Logging and stdout in web-server

2016-11-14 Thread Jay McCarthy
Hi Luke, You are right to use serve/servlet and friends rather than the configuration-table stuff, which is just there for backwards compatibility. If you really want to use dispatch-log, then you'll need to use serve/launch/wait and dispatch/servlet:

[racket-users] Re: Logging and stdout in web-server

2016-11-13 Thread Luke
Does anyone have any tips on how to turn on transparent request logging from this question above? 2) How do I insert the transparent request logger in my dispatch-rules so that request info will be shown on stdout? Thanks! Luke -- You received this message because you are subscribed to the

[racket-users] Re: Logging and stdout in web-server

2016-11-13 Thread Luke
Well, that was ridiculously easy. Thanks! Luke -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options,

[racket-users] Re: Logging and stdout in web-server

2016-11-11 Thread Jack Firth
You may need to call `(flush-output)` after printing to ensure the buffer is flushed. The library racket/place/distributed provides some convenience wrappers like printf/f and displayln/f which print and immediately flush the output port. -- You received this message because you are

[racket-users] Re: Logging and stdout in web-server

2016-11-11 Thread Luke Bayes
For clarity, that line where I call: (make '() req) Is the one that's failing because '() is clearly not a "connection". Thanks! Luke On Fri, Nov 11, 2016 at 2:18 PM, Luke Bayes wrote: > Disclaimer: I'm a long-time software engineer, but very new to Lisp/Scheme > and