Occasionally I will see error like this in the nxlog.log:

2017-04-13 10:18:43 ERROR apr_stat failed on file C:\inetpub\logs\IIS\\W3SVC1\u_extend1776_x.log; Access is denied.

What concerns me is that while this error was recorded at 10:18 the log it failed to access (u_extend1776_x.log) is like 3 hours old!

Does this mean nxlog is wayyy backlogged and is 3 hours behind in processing logs in this folder?

AskedApril 13, 2017 - 4:42pm

Answer (1)

This sometimes happens with log files that are rotated (i.e. deleted) while nxlog is trying to check whether the file has changed and the error message comes from Windows. This can be considered harmless. It will be silenced in a future version.


Comments (2)

  • red888's picture

    Ah ok so this is not an indicator that nxlog is actually processing that file, just that it was checking to see wether it was changed. good to know

  • klaca's picture

    Hi, I just want to ask if you rotate log files with some script? If so then it is possible that this locks file exclusively just before deleting which causes the ERROR msg.