Joe.wang
Joe.wang

Reputation: 11791

Log4J File lock

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.

Upvotes: 0

Views: 768

Answers (1)

Stephen C
Stephen C

Reputation: 718826

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.

Upvotes: 2

Related Questions