Made all modules use the new logging wrapper

Since we want consistent use of logging, this is now applied to all the
remaining files.