Module Logs
Read the record of every call your modules make to an outside system, with exactly what was sent and what came back, so you can prove where a failure started.
Opening the Screen
Open Tools, go to the action logs and choose Module Logs: {admin}/tools/actions/module-log
What Is on the Screen
One row is one round trip: something left your installation, something came back. The strip above the table says who you are talking to and how recently.
Fields
Recording setting
Search and filters
The list above the table narrows to a single module and shows how many calls each one has. The search box matches the module, the call name or the IP address.
The Advanced Filter button opens four more boxes: Call Name, IP Address, Date Range and Search Inside Payloads. Closing the panel clears them, and it clears the module list and the buttons above the table as well. A button can keep its selected look afterwards even though the filter is gone. It then takes two clicks to apply it again.
Every filter here works once the log has grown past a few hundred calls. Below that the whole list is loaded at once and only the search box narrows it.
Clear Logs dialog
Tasks
Open a call
- Click the call name in the row, or open the row menu and choose Open Call.
- Sent holds what left your installation and Received holds the reply. Module Result appears only where the module reworked that reply.
- A filled panel carries a button to wrap long lines and one to copy it, and Received has one more to widen it. A long payload is cut at a display limit, and the copy button still hands over all of it.
- What Triggered This Call at the bottom opens the panel address and the values that came with it.
Copy a call for support
- Open the call and click Copy Everything at the bottom of the dialog.
- You get the module, the action, the address, the time and both payloads in one block.
- The copied text is always English and the time carries its zone, so it can go straight to a provider.
Narrow the list to one module
- Open the row menu of a call and choose Filter by This Module or Filter by This Call.
- The address bar keeps the filter, so the view survives a refresh. On a small log the rows stay as they are.
Clear records older than a date
- Open the menu next to the page title and choose Clear Logs.
- Pick a date, type your password and click Confirm.
- Every call up to the end of that day is removed and the page reloads.
Things to Watch
A stored request can carry API keys, client addresses and payment details, because that is what the module sent. Treat this screen as sensitive, keep recording on only while you are diagnosing something, and check a payload before you paste it into a ticket.
The Search Inside Payloads box reads every stored request and response, so it is slower than the other filters. Narrow by module or date range first, then search inside what is left.
The dialog deletes every call up to the date you pick, and there is no way back. Copy the calls a provider still needs before you clear them.
Required Privileges
The screen needs the TOOLS_ACTIONS privilege. Without it the page is not shown. The same privilege also governs the recording switch and the Clear Logs menu, which are hidden when you do not have it. Downloading the list needs TABLE_EXPORT as well, and without it the download trigger does not appear.
Related Articles
Merci pour votre retour !
Notre équipe d'assistance est disponible 24h/24 pour tout ce que vous ne trouvez pas ci-dessus.