Improved the format of log messages and implemented 300 character limit for single value output