i have a requirement where i should log data in to logging file,where a new loglife should be created every time if the size of the present log file exceeds 1 MB .
How do i acheive the requirement in java.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please use RollFileAppender as like this If you use log4j