Changed logger to private.