openspp-modules icon indicating copy to clipboard operation
openspp-modules copied to clipboard

feat: Add file-based audit logging with rotation

Open gonzalesedwin1123 opened this issue 1 month ago • 1 comments

  • 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

gonzalesedwin1123 avatar Nov 25 '25 08:11 gonzalesedwin1123

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

sonarqubecloud[bot] avatar Nov 25 '25 08:11 sonarqubecloud[bot]