Add a log handler in order to use the ODBAPI.

The IP and the database is hard coded mouahahahah.