All Products
Document Center

Log directories

Last Updated: Feb 01, 2019

The EDAS console allows you to view application runtime logs without having to log on to the server. When an exception occurs, you can check logs to troubleshoot the problem.

Follow these steps to view a runtime log:

  1. Log on to the EDAS console. Choose Applications Management > Applications in the left-side navigation pane.

  2. On the Applications page, click the name of the application you want to check to go to the application details page.

  3. In the left-side navigation pane, select Logs > Log Directories. Alternatively, you can also go to the Instance Information tab of the application details page, and click Logs in the Actions column.

    On the Log Directories page, 3 log directories are displayed by default:

    • Tomcat container logs directory: The specific paths for Tomcat container logs depend on its actual version.

    • EDAS Agent logs directory.

    • Log files for log framework configurations.

    Runtime log

    Note: Only readable files are displayed in the file directory. No folders are displayed.

  4. Double-click a log file to view the details of the log.

    Runtime log details

    • At the top of the page, select an instance ID or name in the drop-down list next to ECS Instance ID/Name/IP Address to view the details.

    • At the bottom of the page, click Enable Real-Time Additions to keep loading the latest additions to the log file (similar to the tailf command).

In addition to checking the logs in the default path, you can also add log paths to favorites for later viewing, or remove a path from your favorites.

  • Bookmark a directory

    On the Log Directories page, click Bookmark Log Directory to add a log directory.

    Note: This path must be under the /home/admin directory, and must contain wordings “log” or “logs” in the complete path. The file must end with a slash “/“ to indicate that it is a folder.

  • Remove from bookmark

    On the Log Directories page, click to select a folder name. Then click Remove Directory from Bookmark at the top right corner of the page. The path will no longer be displayed on the page. This operation does not delete or change any files on the server.