Deployment Logs

rapyuta.io provides tabular searchable logs (historical logs) for components of deployment both in the cloud or on a device.

Additionally, for components deployed on the cloud, rapyuta.io offers a to stream (live logs) and follow stdout/stderr.

Add a ROS package to rapyuta.io, which will have a component with cloud runtime. It will publish the ROS topic /telemetry with Maximum QoS as well as print debug information to stdout. Deploy the package on the cloud, and name the deployment as ROS publisher exclusive deployment

  1. On the left navigation bar, click DEPLOYMENTS.
  2. Select specific deployment whose logs you want to view or analyze. In this example, select ROS publisher exclusive deployment.
  3. On the deployment’s DETAILS tab, ensure the green progress bar is at Succeeded and Status:Running point.

Stdout Logs

To view or analyse the corresponding deployment logs, click Historical Logs. Deployment detials page

A tabular listing of historical deployment logs is displayed, where each row consists of a log’s timestamp, its component name and executable name, and its information or message. Historical logs table

The table displays the most recent logs generated in the indicated time range. The widget fetches 500 log entries at a time. If the set of most recent logs contains more than 500 entries and you want to view logs not rendered in the first 500, use the Load Previous Logs In Time Range available at the top of the table. So each time, 500 new logs are fetched. You may use the time range selectors to narrow your search window. Load Remaining Logs In Time Range As you scroll to the bottom of the table and click Load More Logs, the table will append additional logs that are yielded after now. Load Ahead Logs

You can select a specific component-executable combination to view its corresponding logs. You may also select multiple such combinations. If you select only a component’s name, you will view all the logs generated by all of the executables of that component. If no component is selected, you will view all the logs generated by all of the components that are deployed. For example, the historical logs of only the Talker component are shown below. component-executable combination

You can choose to view logs from within a time range. But, ensure the time slice is neither in the past from the start time of a deployment nor in the future from now. You will be able to view logs up to seven days in the past if a deployment has been running till now.

Time Interval

You can filter logs based on component name, executable name, timestamp or information using JavaScript regular expressions. The expression that you provide is wrapped in global modifier tags. JS Regex

Moreover, for advanced searching of logs, you will have to write a lucene query in the Advanced Search box. Advanced search

You may download historical logs of a deployment as a .log file by clicking the download button. Download logs

You may want to refresh the logs by clicking the refresh button. Refresh logs

Any errors or exceptions that occur while logs are being generated are redirected to stderr output window, but otherwise, a valid logs output is displayed in stdout window. stdout or stderr

Indexed Logs

To view the corresponding deployment logs in real-time, click Live Logs tab. They are streamed in a terminal-like window and can be useful to view and debug your application in the cloud as it generates new logs. The rapyuta.io platform allows you to view the live It is similar to the tail -f functionality one is used to in a UNIX terminal console. Live Logs tab

The Live Logs tab allows you to do the following.

  • View the realtime logs of the deployed components and the associated cloud bridges.

  • Download the live log details to your local machine by clicking the download icon.

  • Search for a specific phrase in the continuous log stream by entering the phrase inside the Search box. If there is a match, all occurrences of matching patterns of the phrase are highlighted.

  • View logs in the full-screen mode by clicking on the fullscreen icon that is located at the top right corner of the terminal-like window.

Live Logs tab