Reading hidden files in Windows?

Tags:

#1 JaVa

I can't get NXlog to read hidden files in Windows server 2012 R2. The source files are in this hidden folder: C:\ProgramData. There are no errors in the log file even if i put the debug mode on. I've double checked the path in input module and it is correct. The NXLog version is 4.4.4347. I also tried to look at Windows logs but no sign of problems there either. Any ideas on what to look next?

#2 Zhengshi Nxlog ✓
#1 JaVa
I can't get NXlog to read hidden files in Windows server 2012 R2. The source files are in this hidden folder: C:\ProgramData. There are no errors in the log file even if i put the debug mode on. I've double checked the path in input module and it is correct. The NXLog version is 4.4.4347. I also tried to look at Windows logs but no sign of problems there either. Any ideas on what to look next?

I ran a quick test on nxlog-4.6.4640 and was able to view files inside hidden directories (including C:\ProgramData) just fine.
If the file is not updated once NXLog starts, you will need to add ReadFromLast and SavePos directives as False so that the full file is read.