Minimal charm implementing only the deploy hooks + storage_attach hook.
charmcraft build
juju add-model examples
juju model-config default-series=focal
juju model-config logging-config="<root>=WARNING;unit=DEBUG"
juju deploy ./<built_charm>
juju debug-log
Erik Lönroth, support me by attributing my work https://eriklonroth.com