Logging to STDOUT and to file

21 views
Skip to first unread message

David Storrs

unread,
Jan 15, 2020, 1:06:07 PM1/15/20
to Racket Users
At runtime I can use PLTSTDERR to specify which log messages are displayed to STDOUT.  Is there a way to specify at runtime *where* they should be logged?  That is, is there a built-in that does this:

PLTSTDERR="debug@the-logger error"  racket foo.rkt | tee foo.log

...except without using tee?  tee is interfering with my program for some reason, and if there's a simple way to resolve this then I'd rather not spend the time figuring out what's going on.
Reply all
Reply to author
Forward
0 new messages