Testing a method for better logging.
Fixing method for better logging.