You can open the file directly or access it from the UI ().
The information that is written to the log file is determined by the settings in the log4j.properties file. This file is found at server_install_directory\conf\server\log4j.properties. You can edit the file directly or through the UI, see Log settings