org.apache.log4j.RollingFileAppender.class Maven / Gradle / Ivy
The newest version!
???? 0 ?
5 p ? 4 q 4 r 4 s
5 t
5 u 4 v w
x y
p z
{
|
}
~ ?
? ? 4 ?
?
?
?
? ? ?
? ?
?
4 ? 4 ? 4 ?
4 ? ? ?
? ?
? ? ? ?
~ ? ?
5 ?
?
?
? ? 4 ?
?
5 ?
4 ? ? ? maxFileSize J maxBackupIndex I nextRollover ()V Code LineNumberTable LocalVariableTable this &Lorg/apache/log4j/RollingFileAppender; /(Lorg/apache/log4j/Layout;Ljava/lang/String;Z)V layout Lorg/apache/log4j/Layout; filename Ljava/lang/String; append Z
Exceptions .(Lorg/apache/log4j/Layout;Ljava/lang/String;)V getMaxBackupIndex ()I getMaximumFileSize ()J rollOver size target Ljava/io/File; i e Ljava/io/IOException; file renameSucceeded setFile (Ljava/lang/String;ZZI)V f fileName
bufferedIO
bufferSize setMaxBackupIndex (I)V
maxBackups setMaximumFileSize (J)V setMaxFileSize (Ljava/lang/String;)V value
setQWForFiles (Ljava/io/Writer;)V writer Ljava/io/Writer; subAppend &(Lorg/apache/log4j/spi/LoggingEvent;)V event #Lorg/apache/log4j/spi/LoggingEvent;
SourceFile RollingFileAppender.java ; < 6 7 8 9 : 7 ; B ; J ? ? ,org/apache/log4j/helpers/CountingQuietWriter ? N java/lang/StringBuffer rolling over count= G ? G ? ? ? ? ? d maxBackupIndex= G ? java/io/File [ F G ? ; d ? ? ? ? . Renaming file G ? to ? ? ? < \ H ] 9 X Y java/io/IOException java/io/InterruptedIOException ? ? ? ? < setFile( , true) call failed. ? ? , false) call failed. ? N ? b ? ? ? ? ? ; ? j k O < $org/apache/log4j/RollingFileAppender org/apache/log4j/FileAppender qw &Lorg/apache/log4j/helpers/QuietWriter; getCount ,(Ljava/lang/String;)Ljava/lang/StringBuffer; (J)Ljava/lang/StringBuffer; toString ()Ljava/lang/String; org/apache/log4j/helpers/LogLog debug (I)Ljava/lang/StringBuffer; (C)Ljava/lang/StringBuffer; exists ()Z delete ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; renameTo (Ljava/io/File;)Z closeFile java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt error *(Ljava/lang/String;Ljava/lang/Throwable;)V length setCount (org/apache/log4j/helpers/OptionConverter
toFileSize (Ljava/lang/String;J)J errorHandler #Lorg/apache/log4j/spi/ErrorHandler; 6(Ljava/io/Writer;Lorg/apache/log4j/spi/ErrorHandler;)V ! 4 5 6 7 8 9 : 7 ; <