Upgrade from 2.5 to 2.9.0 and Logstash

2017-10-09 Thread Pietro Galassi
Hi, i've just upgrated log4j from 2.5 to 2.9.0 but after the upgrade i'm not able to send logs to logstash. Either while starting up now the application says that it cant find the Async logger.

Re: Null pointer error when writing MapMessage key's value to database

2017-10-09 Thread gaurav9...@gmail.com
On 2017-10-06 20:32, Gary Gregory wrote: > Hi, > > I think you will get better help if you provide a reproducible JUnit test > case or program, on GitHub for example. > > Whenever you mention an Error or Exception, you should copy it in your > message. > > Gary > > On Fri, Oct 6, 2017 at 8:

Re: Version 1.2 - send one logger to a separate file

2017-10-09 Thread Remko Popma
Log4j 1.x was declared End of Life in August 2015 (https://blogs.apache.org/foundation/entry/apache_logging_services_project_announces). Also, Log4j 1.2 is known to be broken on Java 9 (https://blogs.apache.org/logging/entry/moving_on_to_log4j_2). Other than that, the people in this community

Version 1.2 - send one logger to a separate file

2017-10-09 Thread Shawn Heisey
Solr is an Apache project that uses slf4j, with log4j 1.2 as the final logging destination. In one of the classes in Solr, specifically the SolrCore class, these are the loggers defined:   private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());   public st