ut as to whether we can update level of all appenders (not just
the one which was added dynamically) for time being.
On Tue, Mar 21, 2023 at 11:05 PM Viraj Jasani wrote:
> Thanks a lot, Ralph!
> Let me ask one more question. For any further questions, I would create a
> new mail thread.
&
update the threshold for the existing appender.
Here is the code reference (log4j1):
https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/AdHocLogDumper.java#L71-L103
On Tue, Mar 21, 2023 at 5:48 PM Viraj Jasani w
I believe we can use "Configurator.reconfigure(uri)", however just wanted
to make sure if this is the only right way (stable API).
On Tue, Mar 21, 2023 at 4:57 PM Viraj Jasani wrote:
> Just a follow up on this, do we have replacement for
> "LogManager.resetConfiguration
Just a follow up on this, do we have replacement for
"LogManager.resetConfiguration" in log4j2?
On Sat, Mar 18, 2023 at 11:27 AM Viraj Jasani wrote:
> Ah looks like monitorinterval is supported as per the doc[1]:
> Properties configuration files support the advertiser, monitor
#ConfigurationSyntax
On Sat, Mar 18, 2023 at 11:14 AM Viraj Jasani wrote:
> Thanks Ralph for the recommendations!
>
> > First, I strongly recommend you switch from properties to either XML,
> Yaml, or JSON.
>
> The reason why we would still like to stick to properties (at least for
>
ble to configure monitor
interval?
1. https://lists.apache.org/thread/gvfb3jkg6t11cyds4jmpo7lrswmx28w3
On Fri, Mar 17, 2023 at 8:59 PM Viraj Jasani wrote:
> Hi,
>
> Could you please help with log4j2 replacement for PropertyConfigurator
> APIs configureAndWatch and configure?
>
> F
Hi,
Could you please help with log4j2 replacement for PropertyConfigurator APIs
configureAndWatch and configure?
For instance, this is the logic we have that we need to migrate to log4j2:
protected void initLog() throws ServerException {
verifyDir(logDir);
LogManager.resetConfigurati