# # Log for Java configuration don't change unless you know what you doing # The possible values here are debug, info, warn, error, fatal # #l'appender P contiene solo informazioni warn, error e fatal #l'appender R contiene tutti i livelli d'informazione log4j.rootLogger=DEBUG, P # #tipo di appender # log4j.appender.P=org.apache.log4j.RollingFileAppender # # This is the file that becomes the log file. Older log files are renamed as fileName1 fileName2 etc. # log4j.appender.P.File=.\\log.txt # # The maximum size of the log file, good idea to keep the size small. # log4j.appender.P.MaxFileSize=100KB # # This defines the no of log files to keep. Since this is a rolling file system, after the number of # files reaches this number, the oldest file is rewritten # log4j.appender.P.MaxBackupIndex=10 # # tipo di pattern per l'appender # log4j.appender.P.layout=org.apache.log4j.PatternLayout # # vogliamo scrivere: gg mmm aaaa hh:mm:ss livello di log [classe da cui si effettua il log] messaggio # log4j.appender.P.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c{1}] %m%n