uschindler commented on issue #618: #Lucene-2562: Make Luke a Lucene/Solr Module URL: https://github.com/apache/lucene-solr/pull/618#issuecomment-480429724 > Hi @uschindler, > > > I was also talking with Robert Muir, he suggested to maybe remove Log4J completely and use java.util.logging instead, so we do not need to add the additional security permissions (we actually want prevent all code from getting context classloader in lucene, as this is a no-go for a library). > > I will look into it this weekend. Still I have no idea how I implement TextAreaAppender with java.util.logging for now, please let me know if you have any suggestions. Hi, I don't think we should do this now. Jul has several problems like locales (the INFO/ERROR/...) messages are translated to your locale and this cannot be changed without using your own formatter. So IMHO, I am happy with the state now, I just wanted to throw some ideas in. Another way would be to only use SLF4J and just implement the "appender" there. Uwe P.S.: BTW, implementing logging to the textarea is as simple as with log4j. Just implement your own jul.Handler.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
