Added custom format to the log messages.