Fix usage of loggers

The loggers are now fetched trough the getLogger function, and not
supposed to be present globally.