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

Remove unused logging.properties that is shipped on the classpath #102

Merged
merged 1 commit into from
Jun 1, 2019

Conversation

basil
Copy link
Member

@basil basil commented Jun 1, 2019

After merging #99, I realized there was another logging.properties checked in at client/src/main/java/hudson/plugins/swarm/logging.properties. This was completely unused. I thought it was confusing that we ship dead code on the classpath, so I simply deleted this. The one I checked in at client/logging.properties was almost the same. I fixed it up to include a few other goodies from the original client/src/main/java/hudson/plugins/swarm/logging.properties (e.g., %u in the filename, and java.util.logging.SimpleFormatter.format). Otherwise, the only other differences were increased verbosity, which is actually a good thing given that users should be only using it when they are in a debugging situation. With these differences having been reconciled, I am deleting the old client/src/main/java/hudson/plugins/swarm/logging.properties. It should now be clear that the JAR ships with no logging configuration, and if users want to turn up logging they will need to copy the file from client/logging.properties to the filesystem (not classpath!) and enable it as described in the documentation.

@basil basil merged commit f718049 into jenkinsci:master Jun 1, 2019
@darxriggs
Copy link
Contributor

darxriggs commented Jun 1, 2019

I was currently looking at exactly the same and also confused as this file was not packaged.

@basil basil deleted the logs branch June 2, 2019 14:57
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

Successfully merging this pull request may close these issues.

2 participants