org.apache.log4j.helpers.SyslogWriter.class Maven / Gradle / Ivy
The newest version!
???? 0 ?
0 _ / ` / a b 5
c d
' e
' f
' g h i
_ j
k
l
c
m
' n
' o
' p
' q
r s t
u v / w
x y / z { | } ~
! _ / ?
$ ? ? ?
' ?
/ ?
' ? ?
+ ?
! ?
! ? ? ? SYSLOG_PORT I
ConstantValue
syslogHost Ljava/lang/String;
Deprecated address Ljava/net/InetAddress; port ds Ljava/net/DatagramSocket; (Ljava/lang/String;)V Code LineNumberTable LocalVariableTable url Ljava/net/URL; e Ljava/net/MalformedURLException; Ljava/net/UnknownHostException; Ljava/net/SocketException; this 'Lorg/apache/log4j/helpers/SyslogWriter; host urlPort write ([CII)V buf [C off len
Exceptions ? bytes [B bytesLength packet Ljava/net/DatagramPacket; string flush ()V close
SourceFile SyslogWriter.java = [ 1 2 5 6 java/lang/NullPointerException = > [ ? ? ? ? ? ? java/net/URL java/lang/StringBuffer http:// ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/net/MalformedURLException 8Malformed URL: will attempt to interpret as InetAddress. ? ? ? : 2 ? ? ? 8 9 java/net/UnknownHostException Could not find . All logging will FAIL. java/net/DatagramSocket ; < java/net/SocketException ? [ (Could not instantiate DatagramSocket to java/lang/String = M L > ? ? java/net/DatagramPacket = ? ? ? \ [ %org/apache/log4j/helpers/SyslogWriter java/io/Writer java/io/IOException indexOf (Ljava/lang/String;)I (I)I lastIndexOf append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; getHost
startsWith (Ljava/lang/String;)Z length ()I charAt (I)C substring (II)Ljava/lang/String; getPort org/apache/log4j/helpers/LogLog error *(Ljava/lang/String;Ljava/lang/Throwable;)V java/net/InetAddress getByName *(Ljava/lang/String;)Ljava/net/InetAddress; printStackTrace getBytes ()[B ([BILjava/net/InetAddress;I)V send (Ljava/net/DatagramPacket;)V ! / 0 1 2 3 4 5 6 7 8 9 : 2 ; <