laravel/laravel — pull request #1138 by franzliedke (2012-08-23 13:44:46+00:00)
Title: [Log] Don't stop writing log files when an event listener is defined

As described in [this forum topic](http://forums.laravel.com/viewtopic.php?id=2203), the default logging mechanism of writing to a file is completely overwritten and thus not executed when any event listener for the "laravel.log" event is registered.

This happens, for example, when the profiler is enabled.

This behaviour is obviously not what we want.

I am sure that my solution could be discussion-worthy still (that code was there for a reason), but on the other hand I don't really see a use case for completely overwriting the logging (that could be done by extending, too - maybe use a separate method for determining the log file name?).