eventmachine-tail
eventmachine-tail copied to clipboard
Ruby EventMachine file tailing and friends. 'gem install eventmachine-tail' to install.
Ran into this exception and wanted to put it somewhere: ``` Unhandled EventMachine Exception: NoMethodError: undefined method `ino' for nil:NilClass: /usr/lib64/ruby/gems/1.8/gems/eventmachine-tail-0.6.3/lib/em/filetail.rb:395:in `handle_fstat' /usr/lib64/ruby/gems/1.8/gems/eventmachine-tail-0.6.3/lib/em/filetail.rb:333:in `handle_eof' /usr/lib64/ruby/gems/1.8/gems/eventmachine-tail-0.6.3/lib/em/filetail.rb:370:in `read_file_metadata' /usr/lib64/ruby/gems/1.8/gems/eventmachine-tail-0.6.3/lib/em/filetail.rb:332:in `handle_eof' /usr/lib64/ruby/gems/1.8/gems/eventmachine-tail-0.6.3/lib/em/filetail.rb:302:in `schedule_eof'...
We ran into issues on 1.9 with a file that is supposed to be UTF-8 having invalid characters in it. A fix was suggested for `remote_syslog` that should clearly go...
When a file is already in the tracked list, it is ignored. It is just two LOC away to be notified also when the file content changes. Add separate mock...
Hi I suspect (from looking at http://code.google.com/p/semicomplete/) that this project is licensed under the new BSD license, but since there's no LICENSE file I can't be 100% sure. Can a...
Hello :) I am trying to tail the same file twice but there seems to be a problem, here is a gist describing it http://gist.github.com/458403 Any ideas?
On Linux at least, FileTail handles rotated files correctly because it gets a moved notification. However, because inotify only notifies for file deletion when all file descriptors on the file...
I don't know exactly why but apparently @file gets nil here: `@position = @file.sysseek(0, IO::SEEK_END)` and its raising an error `EventMachine error: undefined method `sysseek' for nil:NilClass - /usr/lib64/ruby/gems/1.8/gems/eventmachine-tail-0.6.3/lib/em/filetail.rb:106:in `initialize'`...
In my application I am using "logging" instead of "logger" because it offers more features. What I would like is to be able to feed the logger I have already...
Hi, I'm wondering if this project works on Windows?