juju / autopilot-log-collector

GNU General Public License v3.0
2 stars 6 forks source link

Need to add collection of juju config data #9

Open fginther opened 7 years ago

fginther commented 7 years ago

collect-logs should gather the juju config data for each juju service it logs. This would make our debugging of charm issues easy. Suggest storing the files to a /meta or /juju-config directory. Something like this:

haproxy-0/
postgresql-0/
juju-config/haproxy.config
juju-config/postgresql.config
juju-config/landscape-server.config
juju-config/...
landscape-server-0/
landscape-0-inner-logs/cinder-0
landscape-0-inner-logs/ceph-mon-0
landscape-0-inner-logs/juju-config/cinder.config
landscape-0-inner-logs/juju-config/ceph-mon.config
landscape-0-inner-logs/juju-config/openstack.config
landscape-0-inner-logs/juju-config/...
landscape-0-inner-logs/openstack-0
landscape-0-inner-logs/...
...