All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.logging.LogConfigurator.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?2com/groupbyinc/flux/common/logging/LogConfiguratorjava/lang/ObjectLogConfigurator.java4com/groupbyinc/flux/common/logging/LogConfigurator$24com/groupbyinc/flux/common/logging/LogConfigurator$1%java/lang/invoke/MethodHandles$Lookup
java/lang/invoke/MethodHandlesLookuperror+Ljava/util/concurrent/atomic/AtomicBoolean;ERROR_LISTENER0Lorg/apache/logging/log4j/status/StatusListener;$assertionsDisabledZ()V
this4Lcom/groupbyinc/flux/common/logging/LogConfigurator;registerErrorListener	)java/util/concurrent/atomic/AtomicBooleanset(Z)V !
",org/apache/logging/log4j/status/StatusLogger$	getLogger0()Lorg/apache/logging/log4j/status/StatusLogger;&'
%(	*registerListener3(Lorg/apache/logging/log4j/status/StatusListener;)V,-
%.configureWithoutConfig1(Lcom/groupbyinc/flux/common/settings/Settings;)Vjava/util/Objects2requireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;45
36configureStatusLogger8
9configureLoggerLevels;1
<settings.Lcom/groupbyinc/flux/common/settings/Settings;	configure((Lcom/groupbyinc/flux/env/Environment;)Vjava/io/IOExceptionB%com/groupbyinc/flux/cli/UserExceptionDcheckErrorListenerF
GremoveListenerI-
%Jjava/lang/ThrowableL#com/groupbyinc/flux/env/EnvironmentN0()Lcom/groupbyinc/flux/common/settings/Settings;>P
OQ
configFile()Ljava/nio/file/Path;ST
OUlogsFileWT
OXY(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/nio/file/Path;Ljava/nio/file/Path;)V@Z
[environment%Lcom/groupbyinc/flux/env/Environment;	_errorListenerIsRegistered()Zab
cjava/lang/AssertionErrore(expected error listener to be registeredg(Ljava/lang/Object;)Vi
fjgetlb
mjava/lang/IllegalStateExceptiono;status logger logged an error before logging was configuredq(Ljava/lang/String;)Vs
ptgetListeners()Ljava/lang/Iterable;vw
%xjava/lang/Iterablezspliterator()Ljava/util/Spliterator;|}{~java/util/stream/StreamSupport?stream3(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;??
??"java/lang/invoke/LambdaMetafactory?metafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;??
???(Ljava/lang/Object;)Z?"lambda$errorListenerIsRegistered$03(Lorg/apache/logging/log4j/status/StatusListener;)Z??
???test ()Ljava/util/function/Predicate;???java/util/stream/Stream?anyMatch!(Ljava/util/function/Predicate;)Z????!setLogConfigurationSystemPropertyE(Ljava/nio/file/Path;Lcom/groupbyinc/flux/common/settings/Settings;)V??
?#org/apache/logging/log4j/LogManager?
getContext/(Z)Lorg/apache/logging/log4j/spi/LoggerContext;??
??+org/apache/logging/log4j/core/LoggerContext?java/util/ArrayList?
?Norg/apache/logging/log4j/core/config/properties/PropertiesConfigurationFactory?
?java/nio/file/FileVisitOption?FOLLOW_LINKSLjava/nio/file/FileVisitOption;??	??java/util/EnumSet?of%(Ljava/lang/Enum;)Ljava/util/EnumSet;??
??????(Ljava/util/List;Lorg/apache/logging/log4j/core/config/properties/PropertiesConfigurationFactory;Lorg/apache/logging/log4j/core/LoggerContext;)V?
?java/nio/file/Files?walkFileTreeU(Ljava/nio/file/Path;Ljava/util/Set;ILjava/nio/file/FileVisitor;)Ljava/nio/file/Path;??
??java/util/List?isEmpty?b??java/lang/StringBuilder?
?#no log4j2.properties found; tried [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??] and its subdirectories?toString()Ljava/lang/String;??
??(ILjava/lang/String;)V?
E?,com/groupbyinc/flux/common/settings/Settings?java/nio/file/Path?
java/util/Set?Eorg/apache/logging/log4j/core/config/composite/CompositeConfiguration?(Ljava/util/List;)V?
??start7(Lorg/apache/logging/log4j/core/config/Configuration;)V??
??configsPathLjava/nio/file/Path;logsPathcontext-Lorg/apache/logging/log4j/core/LoggerContext;configurationsNLjava/util/List;Ljava/util/List;factoryPLorg/apache/logging/log4j/core/config/properties/PropertiesConfigurationFactory;options0Ljava/util/Set;Ljava/util/Set;Lorg/apache/logging/log4j/core/config/builder/api/ConfigurationBuilderFactory?newConfigurationBuilderI()Lorg/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder;?
?org/apache/logging/log4j/LevelERROR Lorg/apache/logging/log4j/Level;	Eorg/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder	setStatusLeveli(Lorg/apache/logging/log4j/Level;)Lorg/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder;

build()Ljava/lang/Object;
2org/apache/logging/log4j/core/config/Configuration1org/apache/logging/log4j/core/config/Configurator
initializec(Lorg/apache/logging/log4j/core/config/Configuration;)Lorg/apache/logging/log4j/core/LoggerContext;
builder?Lorg/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder;GLorg/apache/logging/log4j/core/config/builder/api/ConfigurationBuilder;2com/groupbyinc/flux/common/logging/ESLoggerFactoryLOG_DEFAULT_LEVEL_SETTING-Lcom/groupbyinc/flux/common/settings/Setting; !	"+com/groupbyinc/flux/common/settings/Setting$exists1(Lcom/groupbyinc/flux/common/settings/Settings;)Z&'
%(B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;l*
%+
getRootLogger#()Lorg/apache/logging/log4j/Logger;-.
/*com/groupbyinc/flux/common/logging/Loggers1setLevelD(Lorg/apache/logging/log4j/Logger;Lorg/apache/logging/log4j/Level;)V34
25LOG_LEVEL_SETTING7!	8getClass()Ljava/lang/Class;:;
<match(Ljava/lang/String;)Z>?
%@A?M(Lcom/groupbyinc/flux/common/settings/Setting;)Ljava/util/function/Predicate;?DEfilterN(Ljava/util/function/Predicate;)Lcom/groupbyinc/flux/common/settings/Settings;GH
?IgetAsMap()Ljava/util/Map;KL
?M
java/util/MapOkeySet()Ljava/util/Set;QRPSiterator()Ljava/util/Iterator;UV?Wjava/util/IteratorYhasNext[bZ\next^Z_java/lang/StringagetKeyc?
%dequalsf?
bggetConcreteSettingA(Ljava/lang/String;)Lcom/groupbyinc/flux/common/settings/Setting;ij
%klogger.mlength()Iop
bq	substring(I)Ljava/lang/String;st
bu5(Ljava/lang/String;)Lorg/apache/logging/log4j/Logger;&w
xlevelkeyLjava/lang/String;levels5Ljava/util/Map;Ljava/util/Map;.Lcom/groupbyinc/flux/common/SuppressForbidden;reason.sets system property for logging configurationes.logs.base_path???java/lang/System?setProperty8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;??
??es.logs.cluster_name?'com/groupbyinc/flux/cluster/ClusterName?CLUSTER_NAME_SETTING?!	??value??
??com/groupbyinc/flux/node/Node?NODE_NAME_SETTING?!	??es.logs.node_name?l
access$000-()Ljava/util/concurrent/atomic/AtomicBoolean;java/lang/Class?desiredAssertionStatus?b
??
#(Lorg/apache/logging/log4j/Level;)V?
	?CodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTableRuntimeInvisibleAnnotationsBootstrapMethods
SourceFileInnerClasses!
?/*????=	?1??#?)?+?/??TUV	01?C
*?7W?:*?=??
>??_abc	@A??0*?7W?H?)?+?K?L?)?+?K+?*?R*?V*?Y?\??0]^?psvwv x/y?TM?CE
F?X*?`??d?
?fYh?k???n?
?pYr?u???|}~)??
ab?2?)?y??????????
@Z?j?*?7W+?7W,?7W,*???:????N??Y??:??Y??:????:+??Y-????W???%?EYN??Y??ж?+??ٶԶݷ?-??Y???*?=??H?>???????m??(d??1[??9S???(d??9S???>??
?????(?1?9?N?X?z???????z????????CE
8?d?K*??W*???W????????
;1?#??#*?)??#*?,?L?0+?6*?9Y?=W?F?J?NL+?T?XM,?]??,?`?bN-?#?e?h?%?9-?l*?,?:-n?r?v?y?6?????4zmzP/{|?>?1R}?1R}~?*
?
???1?P?]?m?????? PZ?A?
????=?*????W???+?,??????W??+?)????+?,?b??W??=??=>???
?!?+?<??<???s?
???B
*?+????
????@??????=??S(?????`?Y????	Y????+??=FG?@???????BC??	





© 2015 - 2024 Weber Informatics LLC | Privacy Policy