Debug instead of log, fix for DateTime

There was a problem with logging, as symfony expect log level as first argument, and message as second. I fixed it by changing log to debug.

There was also problem with logging DateTime format as it has not method __toString.