Created
August 5, 2010 19:59
-
-
Save phiggins/510289 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(04:12:04 AM) fd0: is there an example on how to write to a logfile with eventmachine? | |
(04:12:21 AM) fd0: or should i use default ruby (eventually blocking) io? | |
(04:12:44 AM) raggi: asynchronous writes to disk are kinda complicated due to platform issues | |
(04:12:52 AM) raggi: so at the moment, we don't really support it | |
(04:12:56 AM) raggi: you can use a few tricks though | |
(04:12:59 AM) fd0: namely? | |
(04:13:12 AM) raggi: e.g. EM.popen(cat - >> logfile) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment