Substitute to default strapi logger with @sonatel/juf-xpress-logger
🍷 Elegant. 🔐 Ruthless. ⚙️ Fully Configurable.
Because it’s not just about logging requests—it’s about narrating the admin saga.
strapi-plugin-juf-logger is your audit trail with a backbone.
It tracks everything that happens inside your Strapi Admin, in real-time, with fully configurable rules and zero redeploys.
No more wondering “Who changed that role?”, or “Why is the reset token in my logs?”
You get full visibility, masked data, and total runtime control—without touching a config file.
- Add/delete sensitive fields to mask (
token,password,cookie, etc.) - Map HTTP verbs to semantic actions (
POST → Création,DELETE → Suppression, etc.) - Define action name rules for custom paths (supports dynamic patterns like
/admin/roles/:id)
💥 All live. All without a redeploy.
Sensitive keys are automatically obfuscated:
"authorization": "***************"
"res": "***************"
"cookie": "***************"Because your logs should inform, not incriminate.
Logs like:
"event.action": "Création API Token"
"user.name": "mohamed.johnson@orange-sonatel.com"
"url.path": "/admin/api-tokens"
"event.type": "AUDIT"All thanks to the dynamic rules engine—built to match patterns, not just strings.
{
"@timestamp": "2025-04-15T13:14:53.483Z",
"event.action": "Consultation Other activities",
"event.type": "AUDIT",
"user.name": "mohamed.johnson@orange-sonatel.com",
"http.request.method": "GET",
"http.response.status": "OK",
"url.path": "/admin/roles/:id",
"http.request.body.content": { "res": "***************" }
}- Security Audits
- Role Changes Tracking
- Data Access Monitoring
- Compliance Logging
- Intern Shenanigans Prevention
npm install strapi-plugin-juf-loggerStrapi will auto-load it at startup. No setup needed.
- 💾 Support for external log sinks (Elastic, Loki, CloudWatch)
- 🔄 Replay Mode: reconstruct action sequences
- 🧪 Granular role-based log filtering
Want to help make logs beautiful, actionable, and slightly terrifying?
Open an issue. Or a pull request. Or a bottle of lemonade and start coding.
lpix-11
Let’s be honest.
Strapi didn’t ask for this.
But it needed it.
And now?
Now it logs like a boss. 🪵🔥