Simplifies strings in the logging feature