Viewing Log Data for Deployed Apps | MuleSoft Documentation
# Viewing Log Data for Deployed Apps
CloudHub 2.0 provides access to log data that includes deployment messages and events for each replica and Mule runtime engine logs.
For more advanced searching and log management, you can use Anypoint Monitoring (requires Titanium subscription). See Anypoint Monitoring Overview.
CloudHub 2.0 stores up to 100 MB of log data per config, or up to 30 days, whichever limit is reached first.
Logs are stored in the same region to which the corresponding cluster is deployed.
CloudHub 2.0 stores log data in Universal Time (UTC); however, the console displays the log using your computer’s local time zone.   
---  
## View Logs
To view logs for applications deployed to a private space:
  1. From Anypoint Platform, select **Runtime Manager** > **Applications**.
  2. Click the app name.
  3. In the navigation menu, click **Logs**.
The logs page displays all logs for all replicas for the selected config, with the latest messages at the bottom. The config represents the deployment since the last update.
When you update an application, a new configuration is created. In this case, the logs page might be empty.   
---  
The page streams log messages as they occur, unless the last deployed section is closed. Logs from before the last updated time appear in a drop-down containing previous deployments.
Each message includes the severity, time (relative and absolute), and replica name.
To view logs for a different config, click the **Config** drop-down list and select the config. The config label indicates the relative time of deployment, such as 10 hours ago.


## Search Logs
To search within the currently displayed config:
  1. From Anypoint Platform, select **Runtime Manager** > **Applications**.
  2. Click the app name.
  3. In the navigation menu, click **Logs**.
  4. Enter the search term in the **Search** field.
The results display includes the currently selected config, replica, and log levels.


You can search with queries. For more information, see Log Search Query Syntax.
## Filter Logs
To filter the log results:
  1. From Anypoint Platform, select **Runtime Manager** > **Applications**.
  2. Click the app name.
  3. In the navigation menu, click **Logs**.
  4. Select filter options:
     * Filter logs by config ID
Click the **Config** drop-down menu and select the config to view.
     * **Filter log by replica**
In a log message for the desired replica, click the name of the replica.
Only the logs for the selected replica appear.
To clear the replica filter and display logs for all replicas, click the **X** button for the selected replica.
     * **Filter logs by time date and time range**
Click **Time Range** , select the date range, and optionally time, and click **Apply**.
The **Time range** button label changes to show the selected date and time range.
     * **Filter logs by log level**
Click **Log Levels** and check the log levels to display:
       * **Fatal** : Fatal messages for when an application fails
       * **Error** : Error messages, such as when an exception occurs
       * **Warn** : Warning messages
       * **Info** : Informative messages
       * **Debug** : Debugging messages
Some log levels might not be available depending on the dynamic log level setting for the deployment.   
---  
The **Log Levels** button label changes to show the selected number of log levels.


## Download Logs
To download logs based on the current filters:
  1. From Anypoint Platform, select **Runtime Manager** > **Applications**.
  2. Click the app name.
  3. In the navigation menu, click **Logs**.
  4. Click the download button.


CloudHub 2.0 downloads the log output, using the current filters, using a hexadecimal naming convention and the `log` format, for example: `c6c671_462ccf_2022-07-21T20-08-32X.log`. Use a text editor to view the log file.
## See Also
  * Viewing Diagnostic Data for Deployed Apps
  * Updating Apps Deployed to CloudHub 2.0