hai all, i am very to new log4j and loggers too. I have confidence with the help of the mailing list i can go ahed. So please help me.
I am not getting what are the make files? how the dailyrollingfileappender works. '.'yyyy-MM-dd-HH, '.'yyyy-MM-dd-HH-mm. What i understood is if we set this pattern it will creates log files for every hour,minute respectively. But in my case it is not happening. all data is storing in the same log file. The sample code i written is, public static void main(String ){ Category c = Category.getInstance(log2.class); SimpleLayout p = new SimpleLayout(); String date="\'.\'yyyy-MM-dd-HH-mm" ; DailyRollingFileAppender d = new DailyRollingFileAppender(p,"log.log",date); System.out.println(d.getDatePattern()); BasicConfigurator.configure(d); } and another thing is, In the tutorial it has given that, after creating make.loc file type "make lib" at commend prompt. what is this 'make' where it is? how i have to use. PLsease give me any suggession. any suggesion is very useful for me. If any body having examples please give to me. the make.loc file i created is JAVAC:=c:\jdk1.3\javac JAVAC_FLAGS:=-depend CLASS_DIR:=c:\test\classes so please suggest me the solutions for these. waiting for your help, ramesh [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]