Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

[DS-1460] Add SOLR logging config file #3

Merged
merged 10 commits into from
Jul 31, 2013
Merged

[DS-1460] Add SOLR logging config file #3

merged 10 commits into from
Jul 31, 2013

Conversation

mwoodiupui
Copy link
Member

Move from java.util.logging to log4j. Modern Solr releases use slf4j and add adapters to emulate other frameworks. Set a context parameter "log4j.configuration" to a URL that points to a log4j configuration (for example, to [DSpace]/config/log4j.properties).

@@ -20,7 +20,7 @@
<parent>
<groupId>org.dspace</groupId>
<artifactId>dspace-pom</artifactId>
<version>10</version>
<version>12</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment: We should eventually clean up this reference to "dspace-pom". This old "dspace-pom" concept is no longer maintained or used. We should work to remove it and instead have the main 'dspace-solr" pom.xml setup similar to the root pom.xml in the main DSpace source.

That work doesn't have to happen in this pull request. But, we should do it preferably before 4.0, to avoid referencing this now outdated 'dspace-pom'. I'd be willing to help with it as needed.

@mwoodiupui
Copy link
Member Author

I had to adjust the POMs already, so why not go ahead and fix them properly?

This was a little tricky, since the top POM describes our tweaks to an Apache project. I think I got the licensing, attributions, etc. right but please check. The mailing lists and the like, I feel, should point to DSpace.

@mwoodiupui
Copy link
Member Author

Perhaps we should discuss what out-of-the-box logging configuration we will provide for Solr for DSpace. Solr is quite chatty. I suggest adding a new appender to divert this stuff to another file, and perhaps reducing the log level as Hilton suggests in the ticket.

mwoodiupui added a commit that referenced this pull request Jul 31, 2013
[DS-1460] Add SOLR logging config file
@mwoodiupui mwoodiupui merged commit bd02640 into DSpace:master Jul 31, 2013
@mwoodiupui mwoodiupui deleted the DS-1460 branch August 7, 2013 14:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants