System Logs

The Logs page shows the log files of Centova Cast. Use the log files to find the cause of a problem with the control panel or with the Centova Cast services.

To open the Logs page, click Logs under the Accounts heading in the navigation menu. A staff account must have the View logs permission to open this page.

The page shows the log files of the Centova Cast system log directory, /usr/local/centovacast/var/log/. The logs of each client account are not on this page. Clients see their own logs in the client area.

Log Browser

The Log Browser box on the left side of the page lists the files and the folders of the log directory. Files and folders whose names start with a dot are not shown.

  • Click a file to show its content in the box on the right side of the page.
  • Click a folder to open it. The box then shows the name of the folder and lists its content. The first item is Back, which opens the parent folder again.

A typical installation has these log files:

  • castd.log
    The log of the Centova Cast daemon, which runs the control panel, the API and the management of the streams.

  • cc-web.log
    The error log of the Centova Cast web server.

  • cc-web_access.log
    The access log of the Centova Cast web server. It contains one line for each request to the control panel.

Log Content

The box on the right side of the page shows the content of the selected file. The title of the box is the name of the file. Before you select a file, the box shows (empty).

The control panel shows a large log file in pages of approximately 32 KB. A page always contains complete lines. The first page is the start of the file, which contains the oldest entries. Use the pagination control under the Log Browser box to show the next pages. To see the newest entries, go to the last page.

Centova Cast shows compressed log files (.gz) in their decompressed form.

The control panel marks some parts of the web server logs in color, for easier reading:

  • In the access log: the IP address, the date, the request, the HTTP status code and the size of the response. A status code of 400 or more is shown as an error.
  • In the error log: the date, the severity and the source file. The severities error and crit are shown as errors.

The castd.log file contains one JSON object on each line. The control panel shows each line in a readable form:

  • The time, in your locale's date and time format.
  • The name of the component in square brackets, if the line has one.
  • The message, in a color that shows its level. WARN messages are shown as warnings and ERROR messages are shown as errors.
  • The error text and the source file, if the line has them.
  • All other fields, as name=value pairs on a second line.

You cannot change or delete log files on this page.