Changed logging to use named loggers.