sql is logged before assignment

In dao_methods.find the sql statement is logged prior to its assignment.
Merge pull request #14 from kognix/patch-2

sql is logged before assignment