My grails web application currently logs a lot of debugging information into a file, for almost every request.
From your experience, should I turn this off before moving it to production (which will make it harder to trace bugs of course), or is there almost no effect on the performance of my application even when there are many users at the same time?
Logging definitely slows things down. Writing to files especially is extremely slow. Even the process of creating the strings to log will have an negative affect on performance. I’d strongly advise you turn this logging off. If you have problems with you application, then you’re better off debugging in a development environment than production.