Hello, does anyone have a working Solr instance with JSON log format, using
JsonLayout in log4j2.xml? Please share your configuration!

I have jackson-core and other jackson packages inside the Solr folder:
./server/solr-webapp/webapp/WEB-INF/lib/jackson-core-2.11.2.jar
./server/solr-webapp/webapp/WEB-INF/lib/jackson-databind-2.11.2.jar
./server/solr-webapp/webapp/WEB-INF/lib/jackson-annotations-2.11.2.jar
./server/solr-webapp/webapp/WEB-INF/lib/jackson-dataformat-smile-2.11.2.jar

But the log file isn't even created, and I don't even see any errors about
this in the output!

If I replace back JsonLayout to PatternLayout - all becomes work well.

I have found a similar problem in the mail list here
https://www.mail-archive.com/solr-user@lucene.apache.org/msg152191.html but
it still without a solution.

Can anybody help me with this? Maybe I need to add some dependencies
manually in some Solr config file, or copy libraries files to some
other folder? Thanks!

-- 
Best regards,
Alexey Murz Korepov.
E-mail: mur...@gmail.com
Messengers: Matrix - https://matrix.to/#/@murz:ru-matrix.org Telegram -
@MurzNN

Reply via email to