Skip to content

Conversation

@gonzalesedwin1123
Copy link
Member

  • Add configuration UI for file logging settings
  • Implement RotatingFileHandler with JSON Lines format
  • Support dual-mode: file or database logging
  • Skip chatter messages when file logging enabled
  • Add 15 comprehensive tests for all scenarios
  • Maintain full backward compatibility (defaults to DB mode)

Why is this change needed?

How was the change implemented?

New unit tests

Unit tests executed by the author

How to test manually

Related links

- Add configuration UI for file logging settings
- Implement RotatingFileHandler with JSON Lines format
- Support dual-mode: file or database logging
- Skip chatter messages when file logging enabled
- Add 15 comprehensive tests for all scenarios
- Maintain full backward compatibility (defaults to DB mode)
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

- JSON Lines format (one object per line)
- Default path: `/var/log/odoo/audit.log`
- Default rotation: 10MB per file, 5 backups
- Backward compatible: existing installations continue using database mode No newline at end of file
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this file also intended to be in .gitignore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants