2
responses

input file does not exist

hi,

I'm working on monitoring a log file using nxlog. I have the File set to "C:\\Program Files\\test1.log" but it's saying that the "input file does not exist". I tried running a python script to check the file using the os module

import os

test = os.listdir('C:\\Program Files\\test1.log')
print(test)

This will return an error "FileNotFoundError: The system cannot find the path specified"

AskedSeptember 24, 2018 - 6:50pm