Added logging for wait_for using logger
Merge pull request #327 from psav/wait_for_logging

wait_for logging