I'm reading an log file and writing it into other file but the output is not written below is my file
## This is a sample configuration file. See the nxlog reference manual about the
## configuration options. It should be installed locally and is also available
## online at http://nxlog.org/docs/
## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.
#define ROOT C:\Program Files\nxlog
define ROOT C:\Program Files (x86)\nxlog
Moduledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\nxlog.pid
SpoolDir %ROOT%\data
LogFile %ROOT%\data\nxlog.log
#to enable syslog format
#<Extension _syslog>
# Module xm_syslog
#</Extension>
<Extension fileop>
Module xm_fileop
</Extension>
<Input read_file>
Module im_file
File "C:\\exnxlog.log"
InputType LineBased
SavePos TRUE
Exec $Message = $raw_event;
</Input>
<Output out_debug>
Module om_file
File "C:\\log_debug.txt"
</Output>
<Route 1>
Path read_file=> out_debug
</Route>