Configure the Logs Module

Logs module of Booknetic. Multi-purpose Appointment Booking Plugin For Wordpress.

Version:
Categories

The Logs Module in Booknetic provides a complete audit trail of all key actions performed on appointments and customers. This ensures transparency, accountability, and easier troubleshooting.

What Gets Logged

The module records every important action in the Appointments and Customers modules.

Appointment Actions

  • Created

  • Edited

  • Rescheduled

  • Status Changed

  • Deleted

Customer Actions

  • Created

  • Edited

  • Deleted

Special Cases

  • If an appointment is rescheduled, only an appointment_rescheduled log is created (not appointment_edited).

  • If an appointment’s status changes, only an appointment_status_changed log is created.

  • If a workflow or cron job updates records automatically, the log is still written and marked as Performed by: System.

Log Details

Every log contains:

  • Date & Time – When the action occurred.

  • Performed By – User’s full name, ID, or “System” for automated changes.

  • Module & Action – e.g., Appointment → Rescheduled.

  • Changelog – Old vs. new values (e.g., Staff A → Staff B, Status: Pending → Approved).

Where to View Logs

1. Logs Dashboard

  • Access via the Logs menu in the left sidebar.

  • Features:

    • Sort, filter, and search logs.

    • Open details modal with full changelog.

    • Export all logs.

    • Clear all logs (if permissions allow).

    • Bulk delete options.

2. Appointment Logs Tab

  • Open an appointment → Logs Tab.

  • View all logs related to that specific appointment in a table format.

3. Customer Logs Tab

  • Open a customer → Logs Tab.

  • View all logs related to that customer, including avatar and user details.

Workflow Integration

The Logs Module integrates with Workflows, allowing automation triggered by log events.

New Workflow Events

  • Log Added (all types)

  • Customer Log Added

  • Appointment Log Added

Filters available:

  • User filter (All, Include, Exclude specific users)

  • Location, Service, Staff, Status, Locale

New Workflow Keywords

  • {log_date}

  • {log_time}

  • {log_datetime}

  • {log_user_id}

  • {log_user_full_name}

  • {log_action}

  • {log_changelog}

Appointment-related logs also support appointment + customer + staff keywords.

Permissions & Access Control

  • Visibility of logs is managed through the User Role Manager and Tenant Plans.

  • Logs are always written to the database, even if a user or tenant lacks permission to view them.

  • Permissions only control visibility and actions (e.g., deleting logs).

Best Practices

  • Regularly Export Logs – Keep backups of audit data for compliance or record-keeping.

  • Use Workflows – Set up alerts when certain actions happen (e.g., “Notify admin when an appointment is deleted”).

  • Apply Role Restrictions – Limit who can view or delete logs to avoid misuse.

  • Check Automated Changes – System logs help identify background changes made by workflows or cron jobs.