Re: [racket-users] Execution ends before log message is displayed

2019-01-17 Thread Brian Adkins
Aha! Thanks for the quick reply. I'll have to rethink how I'm handling logging. On Thursday, January 17, 2019 at 9:03:39 PM UTC-5, Matthew Flatt wrote: > > Yes, the default logger cheats. When you log a relevant message, it's > written immediately to stdout/stderr/syslog instead of being posted

Re: [racket-users] Execution ends before log message is displayed

2019-01-17 Thread Matthew Flatt
Yes, the default logger cheats. When you log a relevant message, it's written immediately to stdout/stderr/syslog instead of being posted to a receiver that is later polled. At Thu, 17 Jan 2019 17:59:30 -0800 (PST), Brian Adkins wrote: > I've created my own logger via make-logger, and I started a

[racket-users] Execution ends before log message is displayed

2019-01-17 Thread Brian Adkins
I've created my own logger via make-logger, and I started a thread with a loop that sync's on the log receiver I created via make-log-receiver. I'm logging some messages in a test, and it appears that the test completes (and presumably kills the log receiver thread) before the log message is di