canonical / rockcraft

Tool to create OCI Images using the language from Snapcraft and Charmcraft.
GNU General Public License v3.0
36 stars 43 forks source link

feat: add support for "log-targets" #661

Open cjdcordeiro opened 3 months ago

cjdcordeiro commented 3 months ago

https://github.com/canonical/rockcraft/blob/d09ad13493b8dc0cbb95db7285ef4a6d8a166f67/rockcraft/models/project.py#L42

If it makes sense, we should add this to the schema: https://github.com/canonical/pebble?tab=readme-ov-file#log-forwarding

@deusebio do you by chance have a simple use case we can test with?

deusebio commented 3 months ago

Uhm, not really actually, or rather not yet. We are just considering to use this feature, but in depends what one need. If one needs the setup to test this integration, a loki server where to push logs should probably be deployed.