Log Profiles Module Documentation
Table of Contents
- Module Overview (Technical)
- Module Overview (Commercial/Business)
- Module Overview (End User/Administrator)
- Configuration Sections
- Settings Reference
- Common Scenarios & Examples
- Limitations & Important Notes
- Troubleshooting Tips
- Glossary
---
1. Module Overview (Technical)
What Are Log Profiles?
Log Profiles is an audit configuration module that defines which user actions generate log entries and trigger system notifications. Each profile contains a matrix of modules with logging and notification settings for Create, Edit, and Delete operations.
Architecture
Key Tables
| Table | Purpose | |
|---|---|---|
public.log_profiles | Profile definitions | |
public.log_permissions | Module settings matrix |
Key Files
| File | Description |
|---|---|
modules/logProfiles/ | Frontend module |
2. Module Overview (Commercial/Business)
Business Value
Log Profiles provides audit control:
| Without Log Profiles | With Log Profiles | |
|---|---|---|
| Log everything | Selective logging | |
| No notifications | Action alerts | |
| Storage bloat | Efficient audit | |
| Noise | Relevant records |
Use Cases
- Compliance Auditing
- Meet regulatory requirements
- Change Notifications
- Alert on security events
- Selective Logging
- Reduce storage usage
- Per-User Audit
- Sensitive user tracking
Feature Highlights
| Feature | Benefit | |
|---|---|---|
| Per-Module Control | Granular logging | |
| Action Types | Create, Edit, Delete | |
| Log Toggle | Enable/disable logging | |
| Notify Toggle | Enable/disable alerts | |
| User Assignment | Per-user profiles | |
| Inheritance | Parent module settings |
3. Module Overview (End User/Administrator)
What Can You Do?
- Create custom log profiles
- Set logging per module/action
- Set notifications per module/action
- Assign profiles to users
- Duplicate existing profiles
- Search modules in matrix
Log Profiles Interface
Create/Edit Log Profile
Quick Tips
TIP
Notifications: Use sparingly to avoid alert fatigue.TIP
Security Focus: Always log Users and Role Profile changes.NOTE
Inheritance: Blue dots indicate inherited settings.---
4. Configuration Sections
Basic Information
| Field | Description | |
|---|---|---|
| Log Profile Name | Unique identifier | |
| Description | Purpose explanation |
Log and Notification Permissions
| Column | Description | |
|---|---|---|
| Module | System module/feature | |
| Logs: C E D | Create, Edit, Delete logging | |
| Notifications: C E D | Create, Edit, Delete alerts |
5. Settings Reference
Action Types
| Action | Code | Description | |
|---|---|---|---|
| Create | C | New record created | |
| Edit | E | Record modified | |
| Delete | D | Record removed |
Toggle States
| State | Meaning | |
|---|---|---|
| ✓ | Enabled | |
| ☐ | Disabled | |
| 🔵 | Inherited from parent |
Notification Channels
| Channel | Purpose | |
|---|---|---|
| Admin email alerts | ||
| Webhook | External integrations | |
| In-App | Dashboard notifications |
6. Common Scenarios & Examples
Scenario 1: Full Audit Profile
- Click "Create Profile"
- Name = "Full Audit"
- Enable ALL logging checkboxes
- Disable most notifications
- Save
Scenario 2: Security Alert Profile
- Click "Create Profile"
- Name = "Security Alerts"
- Focus on Users, Role Profiles
- Enable all logs: C E D
- Enable all notifications: C E D
- Save
Scenario 3: Minimal Logging
- Click "Create Profile"
- Name = "Minimal Audit"
- Only enable Delete logging
- Only critical modules
- Save
Scenario 4: Change Notifications
- Create new profile
- Name = "Change Alerts"
- Disable all logs (handled elsewhere)
- Enable Edit notifications on critical modules
- Save
---
7. Limitations & Important Notes
Technical Notes
NOTE
User Assignment: Profile must be unassigned before deletion.NOTE
Log Storage: Logs consume database space.WARNING
Notification Volume: Too many alerts reduces effectiveness.Best Practices
- Log Critical Changes: Users, Roles, System Settings
- Selective Notifications: Only true emergencies
- Review Regularly: Audit log profile effectiveness
- Storage Management: Archive old logs
- Test Notifications: Verify delivery
Recommended Logging
| Module | Log | Notify | |
|---|---|---|---|
| Users | C E D | C E D | |
| Role Profiles | C E D | C E D | |
| System Settings | C E | C E | |
| Extensions | C E D | - - D | |
| Gateways | C E D | C E D |
8. Troubleshooting Tips
Common Issues
| Symptom | Possible Cause | Solution | |
|---|---|---|---|
| No logs appearing | Profile not assigned | Assign to user | |
| Too many notifications | Over-configured | Reduce notify toggles | |
| Can't delete profile | Users assigned | Reassign users first | |
| Inheritance unclear | Parent setting | Check module hierarchy |
Check Profile Assignment
Verify Logging
- Assign profile to test user
- Perform logged action
- Check Audit Logs module
- Verify entry appears
---
9. Glossary
| Term | Definition | |
|---|---|---|
| Log Profile | Audit configuration set | |
| Audit Log | Record of user action | |
| Notification | Alert on action | |
| Create (C) | New record action | |
| Edit (E) | Modify action | |
| Delete (D) | Remove action |
Lua Script Status ℹ️
Admin Module
| Component | Status |
|---|---|
| Log Profiles | ℹ️ Audit configuration - no Lua handler required |
---
Documentation last updated: January 2026