Added format string to rest of the logging output; added Integer.valueOf method to properly instantiate objects as Integer