View Server Log Files
Use View Server Log Files to show the last lines of your instance's application log files
Run the script
To run the script, follow these steps:
- Navigate to General Configuration > ScriptRunner > Built-In Scripts.
- Select View Server Log Files.
Select the log file to view in Log File.
For ScriptRunner for Confluence, this is automatically set with atlassian-confluence.log.
Enter the number of lines to display in Number of Lines.
Select Run.
You can also select Preview to view changes before running the script.
![](/sr4c/files/8.20.0/188419477/188419476/1/1694112147000/view_server_log_files.png)
Results
Once you select Run, the Results of the script appear and look like this:
![](/sr4c/files/8.20.0/188419477/188419475/1/1694112147000/view_server_log_files_result.png)