added logging...

It is for https://github.com/difi/oxalis/issues/166.
I still kept SOP in Junit test-case and Standalone Main class.