fixing log format for old logs