Skip to content

gn - cleanup harvester logs expect harverster logs to be saved in the GN datadir #183

@pmauduit

Description

@pmauduit

Here: https://github.com/georchestra/helm-charts/blob/main/georchestra/templates/geonetwork/housekeeping/clean-harvester-logs.yaml#L37-L40 we assume that the harvester logs are stored in the GeoNetwork datadir, but it is still up to the GN log4j2 configuration which can be customized here:
https://github.com/georchestra/datadir/blob/master/geonetwork/log4j/log4j2.xml#L23

We could:

  1. hardcode in the default (georchestra) datadir the path to the harvester logs, so that it makes it clear it will go into the (geonetwork) datadir
  2. make the logging destination configureable in the chart via an entry in the values.yaml. But it won't prevent people to use an arbitrary directory, which could in the end be inaccessible to the cronjob (if local to the geonetwork container).

My preference will go for 1., as 2. can involve even more confusion to the user of the chart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions