#6499 change log level to warning for log message issued in exception…#6502
Conversation
…tion handling at DataverseServiceBean.findByAlias()
|
@pdurbin Regarding to the whitespace: those lines were indented with tabs while the majority of the file (and the whole codebase) is indented with spaces. I thought it would be not harmful to change this method to be indented with spaces. |
|
@pkiraly please see "as small diff as possible to provide independent value" from @djbrooke at #6331 (comment) |
|
@pdurbin Do you want to create another pull request? And another question: if I would like to create some code format change, what should be the unit of a pull request: A code block (like this one)? A method? A file? |
|
@pkiraly no, this one is fine. No need for another pull request. I hate to say it but I'm not especially interested in pull requests that only change tabs to spaces or whatever. I agree with @poikilotherm in #5075 that the coding style is inconsistent. Probably what we need is for a tool to enforce a style. We do not have any such tool, currently. I did add a checkstyle config file in pull request #5106. Maybe we can build on top of it? |
|
@pdurbin Once I had a pull request based on the output of checkstyle (#5337). It was not request which covered almost all the java files in the repository. It was evidently too much, and it was rejected. I am happy to go over on the whole codebase, and fix issues reported by the Maven codestyle plugin, but we need to clarify what is the reasonable unit for pull requests which fix individual code style problems. |
|
@pkiraly honestly, a higher priority for me is fixing documentation issues we started talking about last year. You already fixed a few! Thank you! Some others I had in mind are in this column we talked about: https://github.com/orgs/IQSS/projects/3#column-6560524 I see you're also assigned to a couple issues: https://github.com/IQSS/dataverse/issues/assigned/pkiraly . We can certainly remove your assignment from any issue that you're not planning on addressing any time soon. I'd love to keep you (and all contributors) busy with stuff that will deliver a lot of value to the project! The inconsistency of code style drives me crazy too but I don't think there's an appetite to work on it in 2020. Deep breath. Maybe go read this "gofmt for Java" thread I started on the dev list for some more thoughts: https://groups.google.com/d/msg/dataverse-dev/y2Jpk3szTf8/rckKmP6-BgAJ |
|
This PR was developed by Göttingen eResearch Alliance, Germany, and funded by SSHOC, "Social Sciences and Humanities Open Cloud". SSHOC has received funding from the European Union’s Horizon 2020 project call H2020-INFRAEOSC-04-2018, grant agreement #823782. |

… handling at DataverseServiceBean.findByAlias()
What this PR does / why we need it: This pull request makes error message generated by DataverseServiceBean.findByAlias() separated in the log from FINE messages.
Which issue(s) this PR closes: #6499 Change logging level from fine to warn for exceptions
Is there a release notes update needed for this change?: Improve logging