Re: Failing to initialize log4j2 configuration dynamically

2017-07-04 Thread Roman Sosnin
Hi, Opened PR in Github: https://github.com/apache/logging-log4j2/pull/91 Thanks. Regards, Roman Sosnin Backend Server Side Developer Trusteer Security IBM Israel Software Lab From: Gary Gregory <garydgreg...@gmail.com> To: Log4J Users List <log4j-user@logging.apache.org> D

Rollover 30 times a day, but zip only once a day

2017-06-20 Thread Roman Sosnin
Hi all, Is it possible to configure the logging-system the way that the files are rolled-over 30 times a day (say 1 file = 1GB) maximum, but the zipping process (gz) happens only once a day? Thanks! Regards, Roman Sosnin Backend Server Side Developer Trusteer Security IBM Israel Software Lab

Re: Failing to initialize log4j2 configuration dynamically

2017-06-19 Thread Roman Sosnin
Hi, Yea I've opened a Jira ticket for this issue. I will create a failing unit test as soon as I can & then upload it. For now any thoughts? Bug ? API Misuse? Thanks Regards, Roman Sosnin Backend Server Side Developer Trusteer Security IBM Israel Software Lab Office: +972-(0)74-792

Failing to initialize log4j2 configuration dynamically

2017-06-18 Thread Roman Sosnin
().getContainerDefinition().at(CONFIG_LOGGING_JAVA_NODE); InputStream stream = new ByteArrayInputStream(logObject.toString().getBytes()); ConfigurationSource source = new ConfigurationSource(stream); Configuration ourConfig = new JsonConfiguration(LoggerContext.getContext(), source); Configurator.initialize(ourConfig); where logObject is the actual log4j2 JSON config node. Any thoughts? Bug? API Misuse? Thanks! Regards, Roman Sosnin Backend Server Side Developer Trusteer Security IBM Israel Software Lab Office: +972-(0)74-7922783