Added a logger to method doIt().