Parameter and Command Reference > Logging Configuration Parameters > LogFile 

LogFile 
Name of the log file. The name of the log file the application creates in the specified LogDirectory.
 
Logging and/or LogStream
If you set this parameter in the Logging and LogStream sections, the setting in the LogStream section takes precedence for the specified log stream.
LogFile=query.log