org.apache.log4j.net.SocketAppender.class Maven / Gradle / Ivy
The newest version!
???? 0$ O ?
P ? O ? O ? O ? O ? O ?
? ? O ?
O ?
O ? O ? ? ?
O ?
? O ?
? O ?
?
O ? O ?
? ? ?
? ?
? ? ?
? ? F ? ? ?
?
?
? ?
$ ? ?
$ ? ?
$ ? ?
O ? ? O ? ? ?
? ? ? O ? ? ? ?
? ? O ? d
? ?
? ?
? ?
? ?
? ?
? ?
?
?
? ?
$ ?
? ? ? ?
? ? ?
F ?
F ?
F ?
F ?
? ? ? ? ? ? ? Connector InnerClasses DEFAULT_PORT I
ConstantValue ? DEFAULT_RECONNECTION_DELAY u0
remoteHost Ljava/lang/String; ZONE address Ljava/net/InetAddress; port oos Ljava/io/ObjectOutputStream; reconnectionDelay locationInfo Z application connector /Lorg/apache/log4j/net/SocketAppender$Connector; counter RESET_FREQUENCY advertiseViaMulticastDNS zeroConf &Lorg/apache/log4j/net/ZeroConfSupport; ()V Code LineNumberTable LocalVariableTable this %Lorg/apache/log4j/net/SocketAppender; (Ljava/net/InetAddress;I)V (Ljava/lang/String;I)V host activateOptions close cleanUp e Ljava/io/IOException; connect msg append &(Lorg/apache/log4j/spi/LoggingEvent;)V event #Lorg/apache/log4j/spi/LoggingEvent; setAdvertiseViaMulticastDNS (Z)V isAdvertiseViaMulticastDNS ()Z
fireConnector getAddressByName *(Ljava/lang/String;)Ljava/net/InetAddress; Ljava/lang/Exception; requiresLayout
setRemoteHost (Ljava/lang/String;)V
getRemoteHost ()Ljava/lang/String; setPort (I)V getPort ()I setLocationInfo getLocationInfo setApplication lapp getApplication setReconnectionDelay delay getReconnectionDelay
access$002 ?(Lorg/apache/log4j/net/SocketAppender;Lorg/apache/log4j/net/SocketAppender$Connector;)Lorg/apache/log4j/net/SocketAppender$Connector; x0 x1 Synthetic
SourceFile SocketAppender.java e f m n ^ T a T b c g T \ ] ? ? ? Y Z | t ? ? j c $org/apache/log4j/net/ZeroConfSupport %_log4j_obj_tcpconnect_appender.local. ? ? m ? k l ? n ? c ? n y n _ ` x n java/io/IOException java/io/InterruptedIOException ? ? ? ? n Could not close oos. ? c java/io/ObjectOutputStream java/net/Socket m t m java/lang/StringBuffer -Could not connect to remote log4j server at [ ~ ]. ? We will try again later. ? n We are not retrying.
? 0No remote host is set for SocketAppender named " Z ".
d Z ? ? n ? n n "Detected problem with connection: ~ ? 3Detected problem with connection, not reconnecting. Starting a new connector thread. ? -org/apache/log4j/net/SocketAppender$Connector m ?! ?" n# ? java/lang/Exception java/lang/InterruptedException Could not find address of [ #org/apache/log4j/net/SocketAppender !org/apache/log4j/AppenderSkeleton java/net/InetAddress getHostName getName ((Ljava/lang/String;ILjava/lang/String;)V advertise closed unadvertise java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt org/apache/log4j/helpers/LogLog error *(Ljava/lang/String;Ljava/lang/Throwable;)V interrupted getOutputStream ()Ljava/io/OutputStream; (Ljava/io/OutputStream;)V ,(Ljava/lang/String;)Ljava/lang/StringBuffer; toString errorHandler #Lorg/apache/log4j/spi/ErrorHandler; !org/apache/log4j/spi/ErrorHandler +(Ljava/lang/String;Ljava/lang/Exception;I)V name !org/apache/log4j/spi/LoggingEvent getLocationInformation %()Lorg/apache/log4j/spi/LocationInfo; setProperty '(Ljava/lang/String;Ljava/lang/String;)V getNDC
getThreadName
getMDCCopy getRenderedMessage getThrowableStrRep ()[Ljava/lang/String; writeObject (Ljava/lang/Object;)V flush reset ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; warn debug ((Lorg/apache/log4j/net/SocketAppender;)V setDaemon setPriority start getByName ! O P S T U V W T U X Y Z [ Z U \ ] ^ T _ ` a T b c d Z e f g T h T U i j c k l m n o [ *? *е *u0? *? *? ? p ? ? ? ? ? q r s m t o ? 5*? *е *u0? *? *? *+? *+? ? *? *+?
? p *
? ? ? ? ? ! ? ) ? . ? 4 ? q 5 r s 5 \ ] 5 ^ T m u o ? 8*? *е *u0? *? *? *? *+? ? *+? **? ?
? p *
? ? ? ? ? ! ? ) ? . ? 7 ? q 8 r s 8 v Z 8 ^ T w n o j 0*? ? *?
Y*? *? ? ? *? ? **? *? ?
? p ? ? ? # ? / ? q 0 r s ! x n o b *? ? ?*? *? ?
*? ? *? ? p ? ? ?
? ? ? ? q r s y n o ? ?*? ? &*? ? ? L+? ? ? ? +? *? *? ? *? ? *? ? p 2 ? ? ? ? ? ? ? % ? * ? 1 ? 9 ? > ? q z { ? r s | t o 4 ?*? ? ?*? *? Y? Y+? !? "? #? ? zN-? ? ? ? ? $Y? %&? '+? ? '(? '? ):*? ? ? $Y? %? '*? '? ):*? +? &? $Y? %? ',? '? ):*? --? . ? /? # &