Removes "q" mapping in log files