Removed some log lines and some unneeded code.

Signed-off-by: Michel Verbraak <miv@localhost.localdomain>