Hi,
Which version of Solr are you talking about?
You should have a log4j.xml or log4j2.xml file in Solr resources that you can
customize to your needs.
At least that's the way we use to write JSON logs. Maybe there are other
options that I don't know.
Gaël,
De : fidiv...@gmail.com
Envoyé : j
On 11/16/2015 9:04 AM, tedsolr wrote:
> Is it possible to define a timezone for Solr so that logging occurs in local
> time? My logs appear to be in UTC. Due to daylight savings, I don't think
> defining a GMT offset in the log4j.properties files will work.
I noticed this today when I upgraded fro
There is a property for timezone. Just set that in solr.in.sh and logging
will use it. The default is UTC.
SOLR_TIMEZONE="EST"
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-logging-in-local-time-tp4240369p4240434.html
Sent from the Solr - User mailing list archive at
The logging format is defined by log4j properties. Looking at Solr
5.3.1, we are using EnhancedPatternLayout, which apparently supports
just putting the timezone in braces after the date format:
http://stackoverflow.com/questions/9116425/apache-log4j-logging-with-specific-timezone
I'd try that as
There are more than a dozen logging sources that are aggregated into Splunk
for my application. Solr is only one of them. All the others are logging in
local time. Perhaps there is a Splunk centric solution, but I would like to
know what the alternatives are. Anyone know how to "fix" (as in define,
I’m sure it is possible, but think twice before logging in local time. Do you
really want one day with 23 hours and one day with 25 hours each year?
wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/ (my blog)
> On Nov 16, 2015, at 8:04 AM, tedsolr wrote:
>
> Is it
Framework way?
Maybe try delving into the log4j framework and modify the log4j.properties
file. You can generate different log files based upon what class generated the
message. Here's an example that I experimented with previously, it generates
an update log, and 2 different query logs with
Thanks Michael Della Bitta.
Hi. Mike Sokolov,
There is no DEBUG appears inside logs..
On Tue, Feb 3, 2015 at 10:06 PM, Michael Della Bitta <
michael.della.bi...@appinions.com> wrote:
> If you're trying to do a bulk ingest of data, I recommend committing less
> frequently.
If you're trying to do a bulk ingest of data, I recommend committing less
frequently. Don't soft commit at all until the end of the batch, and hard
commit every 60 seconds.
Michael Della Bitta
Senior Software Engineer
o: +1 646 532 3062
appinions inc.
“The Science of Influence Marketing”
18 E
I feel the tlog size is perfectly fine since your hard commit interval is
low.You can try increasing your hard commit and soft commit values.Soft
commit of 1 sec is very low.Soft commit is about visibility of
documents,so you can try and increase this as far your slas.
-Nishanth
On Mon, Feb 2,
Hi Michael Della and Michael Sokolov,
*size of tlog :-*
56K/mnt/nitin/solr/node1/solr/wikingram_shard3_replica1/data/tlog/
56K/mnt/nitin/solr/node1/solr/wikingram_shard7_replica1/data/tlog/
56K/mnt/nitin/solr/node2/solr/wikingram_shard4_replica1/data/tlog/
52K/mnt/nitin/solr/node2/
Good call, it could easily be the tlog Nitin is talking about.
As for which definition of high, I was making assumptions as well. :)
Michael Della Bitta
Senior Software Engineer
o: +1 646 532 3062
appinions inc.
“The Science of Influence Marketing”
18 East 41st Street
New York, NY 10017
t:
I was tempted to suggest rehab -- but seriously it wasn't clear if Nitin
meant the log files Michael is referring to, or the transaction log
(tlog). If it's the transaction log, the solution is more frequent hard
commits.
-Mike
On 2/2/2015 11:48 AM, Michael Della Bitta wrote:
If you'd like
If you'd like to reduce the amount of lines Solr logs, you need to edit the
file example/resources/log4j.properties in Solr's home directory. Change
lines that say INFO to WARN.
Michael Della Bitta
Senior Software Engineer
o: +1 646 532 3062
appinions inc.
“The Science of Influence Marketing”
Ola
Here is what I have for this:
##
#
# Log4J configuration for SOLR
#
# http://wiki.apache.org/solr/SolrLogging
#
#
# 1) Download LOG4J:
# http://logging.apache.org/log4j/1.2/
# http://logging.apache.org/log4j/1.2/download.h
This case explained here:
http://stackoverflow.com/questions/762918/how-to-configure-multiple-log4j-for-different-wars-in-a-single-ear
http://techcrawler.wordpress.com/
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-logging-tp3760171p3760352.html
Sent from the Solr -
Yep. I suppose it is. But I have several applications installed on
glassfish and I want each one of them to write into separate file. And Your
solution with this jvm option was redirecting all messages from all apps to
one file. Does anyone knows how to accomplish that?
On Mon, Feb 20, 2012 at 11
Hmm, I did not try to achieve this but interested if you find a way...
After I believe than having log4j config file outside war archive is a
better solution, if you may need to update its content for example.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-logging-tp376
I've already done that. What I'm more interested is if I can add log4j.xml
to war and where to put to make it works
On Mon, Feb 20, 2012 at 10:49 AM, darul wrote:
> Yes, you can update your .war archive by adding/removing expected jars.
>
> --
> View this message in context:
> http://lucene.4720
Yes, you can update your .war archive by adding/removing expected jars.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-logging-tp3760171p3760285.html
Sent from the Solr - User mailing list archive at Nabble.com.
Thanks a lot.
I've added (and deleted) those libraries and now I don't get this messages
to stdout :) I see that log4j is running and it can't find its config
file. I wish I could add this to the solr.war. Is this possible? I want
to avoid setting paramemeters in glassfish.
Regards,
Alex
On Mon,
I get similar questions in the past :)
http://lucene.472066.n3.nabble.com/Jetty-logging-td3476715.html#a3483146
wish it will help you.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-logging-tp3760171p3760173.html
Sent from the Solr - User mailing list archive at Nabble
: Has anyone been able to successfully configure logging from Solr in
: Weblogic? I am trying to increase the verbosity of the logs as I am
: seeing some strange behavior during indexing, but have not been able to
i's been a *LONG* time since i've used weblogic, but according to these
docs...
23 matches
Mail list logo