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$18com/groupbyinc/flux/common/settings/Setting$AffixSetting
+com/groupbyinc/flux/common/settings/SettingAffixSetting%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookuperror+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/AtomicBoolean#set(Z)V%&
$',org/apache/logging/log4j/status/StatusLogger)	getLogger0()Lorg/apache/logging/log4j/status/StatusLogger;+,
*-	/registerListener3(Lorg/apache/logging/log4j/status/StatusListener;)V12
*3configureWithoutConfig1(Lcom/groupbyinc/flux/common/settings/Settings;)Vjava/util/Objects7requireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;9:
8;configureStatusLogger=
>configureLoggerLevels@6
Asettings.Lcom/groupbyinc/flux/common/settings/Settings;	configure((Lcom/groupbyinc/flux/env/Environment;)Vjava/io/IOExceptionG%com/groupbyinc/flux/cli/UserExceptionIcheckErrorListenerK
LremoveListenerN2
*Ojava/lang/ThrowableQ#com/groupbyinc/flux/env/EnvironmentS0()Lcom/groupbyinc/flux/common/settings/Settings;CU
TV
configFile()Ljava/nio/file/Path;XY
TZlogsFile\Y
T]Y(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/nio/file/Path;Ljava/nio/file/Path;)VE_
`environment%Lcom/groupbyinc/flux/env/Environment;	derrorListenerIsRegistered()Zfg
hjava/lang/AssertionErrorj(expected error listener to be registeredl(Ljava/lang/Object;)Vn
kogetqg
$rjava/lang/IllegalStateExceptiont;status logger logged an error before logging was configuredv(Ljava/lang/String;)Vx
uygetListeners()Ljava/lang/Iterable;{|
*}java/lang/Iterablespliterator()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?g??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?
J?,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/ConfigurationBuilderFactorynewConfigurationBuilderI()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/ConfigurationBuildersetStatusLeveli(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;*com/groupbyinc/flux/common/logging/Loggers#LOG_DEFAULT_LEVEL_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;%&	$'exists1(Lcom/groupbyinc/flux/common/settings/Settings;)Z)*

+B(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/lang/Object;q-

.2com/groupbyinc/flux/common/logging/ESLoggerFactory0
getRootLogger#()Lorg/apache/logging/log4j/Logger;23
14setLevelD(Lorg/apache/logging/log4j/Logger;Lorg/apache/logging/log4j/Level;)V67
$8LOG_LEVEL_SETTING:Lcom/groupbyinc/flux/common/settings/Setting$AffixSetting;:;	$<getAllConcreteSettingsI(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/util/stream/Stream;>?
@lambda$configureLoggerLevels$10(Lcom/groupbyinc/flux/common/settings/Setting;)ZBC
DEC?filter9(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;IJ?Knlambda$configureLoggerLevels$2^(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/common/settings/Setting;)VNO
PQ0(Lcom/groupbyinc/flux/common/settings/Setting;)VSacceptM(Lcom/groupbyinc/flux/common/settings/Settings;)Ljava/util/function/Consumer;UVWforEach (Ljava/util/function/Consumer;)VYZ?[level.Lcom/groupbyinc/flux/common/SuppressForbidden;reason.sets system property for logging configurationes.logs.base_patha??java/lang/SystemdsetProperty8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;fg
ehes.logs.cluster_namej'com/groupbyinc/flux/cluster/ClusterNamelCLUSTER_NAME_SETTINGn&	movalueq?
mrcom/groupbyinc/flux/node/NodetNODE_NAME_SETTINGv&	uwes.logs.node_nameyjava/lang/String{getKey}?

~logger.?length()I??
|?	substring(I)Ljava/lang/String;??
|?5(Ljava/lang/String;)Lorg/apache/logging/log4j/Logger;+?
1?sequals??
|?l
access$000-()Ljava/util/concurrent/atomic/AtomicBoolean;java/lang/Class?desiredAssertionStatus?g
??
$#(Lorg/apache/logging/log4j/Level;)V?
	?CodeLocalVariableTableLineNumberTable
StackMapTable
ExceptionsLocalVariableTypeTableRuntimeInvisibleAnnotationsBootstrapMethods
SourceFileInnerClasses!?/*????<	 ?1?"?(?.?0?4??STU	56?C
*???
?????(?1?9?N?X?z???????z????????HJ
=?d?K*?
?W*???W?? "? !?????
@6??9?(*?,??(*?/?	L?5+?9?=*?A?H?L*?X?\??]9CD??
???(?8??
????=b*?c?iWk?p+?/?m?s?iW?x+?,?z?x+?/?|?iW??=??=CD??
?!?+?<??<?^_s`
NO?d+*?/?	M+????????,?9?? CD?&	]??	??
BC?K*??(????????&???@
???B
*?0????
????@????"??<??S(?????e?$Y???"?	Y?
???0??<EF?@? ??????FG?MRT??"	
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy