You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Tim Vaillancourt <ti...@elementspace.com> on 2013/04/12 21:50:16 UTC
CSS appearing in Solr 4.2.1 logs
Hey guys,
This sounds crazy, but does anyone see strange CSS/HTML in their Solr 4.2.x
logs?
Often I am finding entire CSS documents (likely from Solr's Admin) in my
jetty's stderrout log.
Example:
"2013-04-12 00:23:20.363:WARN:oejh.HttpGenerator:Ignoring extra content /**
* @license RequireJS order 1.0.5 Copyright (c) 2010-2011, The Dojo
Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
* see: http://github.com/jrburke/requirejs for details
*/
/*jslint nomen: false, plusplus: false, strict: false */
/*global require: false, define: false, window: false, document: false,
setTimeout: false */
//Specify that requirejs optimizer should wrap this code in a closure that
//maps the namespaced requirejs API to non-namespaced local variables.
/*requirejs namespace: true */
(function () {
//Sadly necessary browser inference due to differences in the way
//that browsers load and execute dynamically inserted javascript
//and whether the script/cache method works when ordered execution is
//desired. Currently, Gecko and Opera do not load/fire onload for
scripts with
//type="script/cache" but they execute injected scripts in order
//unless the 'async' flag is present.
//However, this is all changing in latest browsers implementing HTML5
//spec. With compliant browsers .async true by default, and
//if false, then it will execute in order. Favor that test first for
forward
//compatibility.
var testScript = typeof document !== "undefined" &&
typeof window !== "undefined" &&
document.createElement("script"),
supportsInOrderExecution = testScript && (testScript.async ||
((window.opera &&
Object.prototype.toString.call(window.opera) === "[object Opera]") ||
//If Firefox 2 does not have to be
supported, then
//a better check may be:
//('mozIsLocallyAvailable' in
window.navigator)
("MozAppearance" in
document.documentElement.style))),
"
Due this, my logs are getting really huge, and sometimes it breaks my tail
-F commands on the logs, printing what looks like binary, so there is
possibly some other junk in my logs aside from CSS.
I am running Jetty 8.1.10 and Solr 4.2.1 (stable build).
Cheers!
Tim Vaillancourt
RE: CSS appearing in Solr 4.2.1 logs
Posted by "Vaillancourt, Tim" <TV...@ea.com>.
Thanks Chris! Somehow I managed to miss that ticket searching, thanks for looking for me.
I will confirm the version I have and I am glad to hear this was reported and resolved!
Cheers,
Tim
-----Original Message-----
From: Chris Hostetter [mailto:hossman_lucene@fucit.org]
Sent: Friday, April 12, 2013 2:53 PM
To: solr-user@lucene.apache.org
Subject: Re: CSS appearing in Solr 4.2.1 logs
: This sounds crazy, but does anyone see strange CSS/HTML in their Solr 4.2.x
: logs?
are you sure you're running 4.2.1 and not 4.2?
https://issues.apache.org/jira/browse/SOLR-4573
-Hoss
Re: CSS appearing in Solr 4.2.1 logs
Posted by Chris Hostetter <ho...@fucit.org>.
: This sounds crazy, but does anyone see strange CSS/HTML in their Solr 4.2.x
: logs?
are you sure you're running 4.2.1 and not 4.2?
https://issues.apache.org/jira/browse/SOLR-4573
-Hoss