| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 744 |
| Technical Name |
atliis_log_error_notification |
| License | OPL-1 |
| Website | https://www.atliis.com/ |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 744 |
| Technical Name |
atliis_log_error_notification |
| License | OPL-1 |
| Website | https://www.atliis.com/ |
| Versions | 18.0 19.0 |
Error Log & Notification
Real-Time Odoo Exception Capture & Instant Email Alerts
Stop finding out about server errors from unhappy users. Error Log & Notification automatically captures every unhandled Odoo exception, cron job failure, and log file entry — then emails your team instantly with the full Python traceback, request context, and a direct link to the log record so you can investigate in seconds.
- Captures HTTP exceptions, cron failures & log file errors
- Instant email alerts with full traceback & request data
- Configurable recipients, sender address & log severity
- Syntax-highlighted JSON viewer for fast diagnosis
- Compatible with Odoo 18 & 19 — Community and Enterprise
Key Features
Everything you need to monitor your Odoo server and react to errors before users notice
HTTP Exception Logging
Every unhandled exception raised during an Odoo HTTP request is captured with its full Python traceback, request URL, headers, session data, and the Odoo user who triggered it — stored instantly in the backend.
Cron Job Failure Logging
Exceptions raised inside Odoo scheduled actions are caught and logged with the cron name and full traceback, then emailed to your team — so background job failures never go unnoticed again.
Instant Email Alerts
Configure a primary recipient and unlimited additional contacts. Each alert email includes error details, the affected user, timestamp, and a direct link that opens the log record inside Odoo for immediate investigation.
Odoo Log File Monitoring
A built-in cron job reads the Odoo server log file incrementally every 5 minutes and creates records for entries at or above your chosen severity. Supports log rotation detection so no entries are missed or duplicated.
Rich JSON Log Viewer
Each log record stores exception data, HTTP request headers and parameters, session context, and response details — all rendered in a syntax-highlighted JSON editor for rapid root-cause diagnosis without leaving Odoo.
Simple, Centralised Configuration
One configuration record controls all behaviour — enable or disable email alerts, set the sender, add recipients, choose the log file path, and configure minimum severity level — all from a single screen.
Error Types Captured
| Error Type | Source | Email Alert |
|---|---|---|
| Server Error | Unhandled exceptions during HTTP requests | Always |
| Cron Error | Exceptions inside scheduled actions | Always |
| Access Error | AccessError / AccessDenied exceptions | Always |
| Log Entry | Odoo log file (monitored by cron) | Configurable level |
| Website Error | HTTP 4xx/5xx from visitors / bots | Logged only |
How to Use
Set up in under 5 minutes
Step 1 — Open Configuration
Navigate to Error Logs → Configuration
(Administrators only). A single configuration record controls all notification and monitoring
behaviour for the entire Odoo instance.
Step 2 — Enable Email & Set Recipients
Tick Send Email, choose a Primary Recipient, and add any additional contacts who should be copied on every alert. Optionally set a custom From User for the sender address.
Step 3 — Enable Log File Monitoring
Tick Monitor Log File, click Auto-detect Path to locate the running Odoo log file automatically, and set a Minimum Log Level (e.g. ERROR). The bundled cron runs every 5 minutes.
Step 4 — Review Error Logs
Open Error Logs → Logs to browse every
captured exception. Filter by type, user, or date. Click any record to view the full JSON
exception, request headers, and response data side by side.
Installation
Copy the atliis_log_error_notification module
folder into your Odoo addons path.
Enable developer mode in Odoo, then go to Apps → Update Apps List.
Search for Error Log & Notification and click Install.
Go to Error Logs → Configuration, enable email, add recipients, and optionally configure log file monitoring.
Frequently Asked Questions
Common questions about Odoo error logging and email notifications
Five categories are captured:
- Server errors — unhandled Python exceptions during HTTP requests
- Cron failures — exceptions inside Odoo scheduled actions
- Access errors — AccessError and AccessDenied exceptions
- Log file entries — entries at or above the configured minimum level (ERROR/CRITICAL by default)
- Website errors — HTTP 4xx/5xx from visitors or bots (stored in the log list, no email)
Yes. Untick Send Email in the configuration at any time. All exceptions continue to be captured and stored as log records in the backend — email notifications are simply paused. You can re-enable them whenever needed.
A built-in Odoo scheduled action reads the log file incrementally every 5 minutes, processing only new content since the last run (tracked via a byte-offset). If the file has been rotated (smaller than the stored offset), the cron automatically resets and reads from the beginning so no entries are missed.
No. The module uses a per-thread
re-entrancy guard that prevents the exception handler from triggering itself.
Additionally, SessionExpiredException is silently skipped (it's a normal
user redirect, not a real error), and each log operation runs in its own database cursor
that is independent of the failed request's rollback.
The impact is negligible under normal operation. Exception logging only runs when an error actually occurs. Log file monitoring uses incremental reads (up to 10 MB per run) and is limited by the cron interval. Old log records are automatically cleaned up after 15 days by a scheduled maintenance cron.
Email us at helpdesk@atliis.com with a description of your requirements. We respond to all requests within one business day.
Yes. Every purchase includes 90 days of free support from the date of purchase, covering installation assistance, configuration help, and bug fixes.
Get In Touch
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module