I had used Log4J in my application, but I have another application want to read the log file of Log4J .Is there any thead-safe issue in this situation? thanks.
Share
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.
There are no thread-safety issues with reading a Log4j file.
You’ve got no way of knowing when Log4j is going to write more data to it, but that isn’t a thread safety issue.