Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

artifactCleanup - Questions about operating. #411

Closed
malceore opened this issue Mar 17, 2022 · 3 comments
Closed

artifactCleanup - Questions about operating. #411

malceore opened this issue Mar 17, 2022 · 3 comments

Comments

@malceore
Copy link

This plugin specifically.
https://github.com/jfrog/artifactory-user-plugins/tree/master/cleanup/artifactCleanup

  1. Does this plugin work on Artifactory 7.31?
  2. Does this plugin log what files it removes anywhere, even on a dry-run?
@azranchen
Copy link

yes
To ensure logging for this plugin, edit ${ARTIFACTORY_HOME}/etc/logback.xml to add:

<logger name="artifactCleanup">
    <level value="info"/>
</logger>

then look at jforg/artifactory/var/log/artifactory-service.log

@dmckernanacv
Copy link

Do these plugins work with the OSS version? How can I modify the log for the helm chart?

@agrasth
Copy link

agrasth commented Nov 13, 2024

Yes, this plugin works on Artifactory 7.31. It logs deletions to artifactory-service.log, even in dry-run mode, when configured.

To set up logging in the OSS version with Helm, add a custom logback.xml with:

<logger name="artifactCleanup">
    <level value="info"/>
</logger>

Then, mount this updated logback.xml through Helm’s extraConfigMaps or extraVolumes.

@agrasth agrasth closed this as completed Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants