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

Logging: Remove debug logging for DataCite DOI creation, processing. #2982

Closed
kcondon opened this issue Mar 1, 2016 · 5 comments
Closed
Assignees
Labels
Component: Code Infrastructure formerly "Feature: Code Infrastructure" Type: Bug a defect
Milestone

Comments

@kcondon
Copy link
Contributor

kcondon commented Mar 1, 2016

On publishing a dataset, some useful but perhaps debugging logging info is written, maybe should be removed for production:

[2016-03-01T13:56:56.516-0500] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.DOIDataCiteServiceBean] [tid: _ThreadID=51 _ThreadName=jk-connector(2)] [timeMillis: 1456858616516] [levelValue: 800] [[
doiDataCiteRegisterService.toString : edu.harvard.iq.dataverse.DOIDataCiteRegisterService@75bfb210]]

[2016-03-01T13:56:56.525-0500] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.DOIDataCiteRegisterService] [tid: _ThreadID=51 _ThreadName=jk-connector(2)] [timeMillis: 1456858616525] [levelValue: 800] [[
identifier=doi:10.5072/YARZ9I, creators=Admin, Dataverse (Dataverse.org), title=Test DataCite, publisher=Root Dataverse, publicationyear=2016]]

[2016-03-01T13:56:56.525-0500] [glassfish 4.1] [INFO] [] [] [tid: _ThreadID=51 _ThreadName=Thread-8] [timeMillis: 1456858616525] [levelValue: 800] [[
Contributors element: Admin, DataverseDataverse.org]]

[2016-03-01T13:56:56.525-0500] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.DOIDataCiteRegisterService] [tid: _ThreadID=51 _ThreadName=jk-connector(2)] [timeMillis: 1456858616525] [levelValue: 800] [[
xmlMetadata 70

10.5072/YARZ9I
Admin, DataverseDataverse.org

<title>Test DataCite</title>

Root Dataverse
2016


1

Admin, DataverseDataverse.org

]]

[2016-03-01T13:56:56.532-0500] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.DOIDataCiteServiceBean] [tid: _ThreadID=51 _ThreadName=jk-connector(2)] [timeMillis: 1456858616532] [levelValue: 800] [[
create DOI identifier retString : success to reserved doi:10.5072/YARZ9I]]

@kcondon kcondon added Priority: Medium Type: Bug a defect Component: Code Infrastructure formerly "Feature: Code Infrastructure" labels Mar 1, 2016
@kcondon kcondon added this to the 4.3 milestone Mar 1, 2016
@pdurbin
Copy link
Member

pdurbin commented Mar 1, 2016

@sekmiller if you want to simply reduce it to fine (rather than removing it) I've documented here how sysadmins and developers can increase the logging level: http://guides.dataverse.org/en/4.2.4/installation/administration.html#glassfish

@sekmiller
Copy link
Contributor

I made a typo when I committed the change. (i put it on 2892). oops. You can see the commit in the pull request for DataCite Support

@kcondon
Copy link
Contributor Author

kcondon commented Mar 3, 2016

It seems to be cleaned up a lot, still logging the following:

[2016-03-03T13:34:05.630-0500] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.DOIDataCiteRegisterService] [tid: _ThreadID=50 _ThreadName=jk-connector(1)] [timeMillis: 1457030045630] [levelValue: 800] [[
identifier=doi:10.5072/DataCite/U4XFWT, creators=Admin, Dataverse (Dataverse.org), title=new dataset with DataCite DOI, publisher=Root Dataverse, publicationyear=2016]]

[2016-03-03T13:34:05.631-0500] [glassfish 4.1] [INFO] [] [edu.harvard.iq.dataverse.DOIDataCiteRegisterService] [tid: _ThreadID=50 _ThreadName=jk-connector(1)] [timeMillis: 1457030045631] [levelValue: 800] [[
xmlMetadata 70

10.5072/DataCite/U4XFWT
Admin, DataverseDataverse.org

<title>new dataset with DataCite DOI</title>

Root Dataverse
2016


1

Admin, DataverseDataverse.org

]]

@kcondon kcondon assigned sekmiller and unassigned kcondon Mar 3, 2016
sekmiller added a commit that referenced this issue Mar 3, 2016
@sekmiller
Copy link
Contributor

Fix checked into branch

@sekmiller sekmiller assigned kcondon and unassigned sekmiller Mar 3, 2016
@kcondon
Copy link
Contributor Author

kcondon commented Mar 3, 2016

OK, works, logging removed. Closing.

@kcondon kcondon closed this as completed Mar 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Code Infrastructure formerly "Feature: Code Infrastructure" Type: Bug a defect
Projects
None yet
Development

No branches or pull requests

3 participants