Use View Server Log Files to show the last N lines of application log files. Follow these steps to run the built-in script:

  1. Navigate to Built-in Scripts>View Server Log Files.
  2. Select the log file to view in Log File.

  3. Enter the number of lines to display in Number of Lines. The script returns the last N number of lines from the log file.

  4. Click Run to view the results.

    You can select Preview instead of Run to view changes before implementing them.

    Once you select Run, the Results of the script appear.

Increase the logging level to help debug scripts. See logging levels for more information.

For information on more advanced logging in ScriptRunner see Advanced Logging.