Skip to main content

Logs

The LOGS tab shows the output of the branch's Odoo instance. You can follow it live while you reproduce a problem, or search past logs over a given period.

Access

LOGS tab of a production or staging branch. Available to every collaborator on the project.

Production instance logs in live mode
Production instance logs in live mode

A badge at the top of the tab shows the current mode: LIVE MODE or HISTORICAL MODE.

Follow logs live​

LIVE MODE (pulsing green dot) is the default. New lines appear as soon as the instance writes them.

  • When the tab opens, it shows Connecting to log stream....
  • If the stream stops, the message Stream ended: … gives the reason.
  • If the connection fails, the message Log Connection Failed is shown: reload the tab.

Search past logs​

  1. Open the period picker:
    • pick a start (Start time) and end (End time) date and time in the calendar;
    • or click a shortcut, Last 3h, Last 6h or Last 9h: the search runs immediately.
  2. In Limit:, set the maximum number of lines to show (1 to 5000, 100 by default).
  3. Click Search. The tab switches to HISTORICAL MODE and shows Fetching historical logs from … to ….
  4. To narrow the results, type some text in Filter results... (for example ERROR or a module name): only the lines that contain it stay visible.
  5. To go back to live logs, click Resume Live.
Search period

The period cannot exceed 30 days. The log history kept is shorter, though: for an older period, the search may return No logs found for this period.

Common messages​

MessageCauseWhat to do
Please select both start and end timesThe start or end of the period is missing.Complete the period.
Date range cannot exceed 30 days.The period is too long.Shorten the period.
No logs found for this period.No logs are available for this period.Pick a more recent or wider period.
Failed to fetch logsThe search failed.Try again in a moment.

Copy or export logs​

In both modes:

  • Copy Logs copies the displayed lines to the clipboard;
  • Export as .txt downloads the displayed lines as a text file, without color codes.
No level filter

The tab shows the Odoo instance output, without sorting by severity level. To isolate errors, search the period you need, then filter on ERROR or WARNING with Filter results....

See also​