file_name() returns unknown in im_file in Windows

View thread

mitchfloresswi
NXLOG version: NXLog CE 3.0.2272

OS version: Windows 2019 server

Issue:  **file_name() returns "unknown" in im_file module**

Config:

    <Input in_AppABC>
      Module im_file
      <Exec>
    	log_info('Filename is' + file_name());
      </Exec>
      File "C:\logs\AppABC.log"
    </Input>