문제

I am using LogParser Lizard to parse Log4Net files and when I am trying to do a query such as: SELECT * FROM "C:\Logs*.log". I get an error saying "The process cannot access the file [...] because it is being used by another process" (correct, it is my web app deployed in IIS that is currently writing to it). Is there a way to circumvent this behavior and still open the file for reading even if it is currently in use?

도움이 되었습니까?

해결책

This question is a little old, but I'll give my work-around anyway. Copy the log files to a temp folder. Then use Log Parser Lizard on the copies.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top