[RFE] max log age should be exposed as a configuration option

Bug #1566545 reported by Felipe Reyes
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

juju-core 2 stores the logs inside the mongodb and by default they are stored for 3 days[0], there situations where this couldn't be enough, specially when you need to troubleshoot problems and reading old logs is useful to determine when a particular problem/behavior started.

Exposing this as a configuration option would be helpful to adjust it for the particular needs of each user.

[0] https://github.com/juju/juju/blob/master/worker/dblogpruner/worker.go#L23

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0-beta4
Revision history for this message
Cheryl Jennings (cherylj) wrote :

It shouldn't be too hard to add this as a config option, but given the time constraints for 2.0.0, it won't make it into a 2.0.0 release.

Changed in juju-core:
milestone: 2.0-beta4 → 2.1.0
tags: added: sts-rfe
removed: sts
tags: added: sts
summary: - max log age should be exposed as a configuration option
+ [RFE] max log age should be exposed as a configuration option
Changed in juju-core:
assignee: nobody → Jorge Niedbalski (niedbalski)
affects: juju-core → juju
Changed in juju:
milestone: 2.1.0 → none
milestone: none → 2.1.0
Changed in juju:
assignee: Jorge Niedbalski (niedbalski) → nobody
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Removing 2.1 milestone as we will not be addressing this issue in 2.1.

I am putting it back on a Wishlist.

Changed in juju:
importance: High → Wishlist
milestone: 2.1.0 → none
tags: added: canonical-is scalability
Changed in juju:
importance: Wishlist → High
milestone: none → 2.2-rc1
tags: added: jaas
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.2-rc1 → 2.2-beta3
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Revision history for this message
Anastasia (anastasia-macmood) wrote :

PR against develop (2.2): https://github.com/juju/juju/pull/7235

Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.