| Class | Symbiosis::ApacheLogger |
| In: |
httpd/lib/symbiosis/apache_logger.rb
|
| Parent: | EventMachine::Connection |
Return the maximum number of filehandles we can have open at any time. If this maximum is exceeded the least-used filehandle is closed.
Set the maximum number of filehandles we can have open at any one time. Defaults to 50.
Opens a log file, returning a filehandle, or nil if it wasn‘t able to. It also tried to create any parent directories.
This method is called when the EventMachine receives a line from the file descriptor, usually STDIN. If the line reads "unbind and stop", the instance tries to unbind, and then it stops the EventMachine. If the line reads "close filehandles and resume", then all filehandles are closed, before the loop is resumed.