Hello,

First, Thank You for wonderful utility. Am using nxlog-ce-2.7.1191 on 
Debian. The nxlog binary is @ /usr/bin/nxlog.

I've following 2 queries - please provide your view 
points/clarifications. Much appreciated.

Q1. While using pm_buffer, when 'Type' is 'Disk', which partition will 
get used ?. /var ? or Are there any configurable param using which I can 
direct nxlog
to use a specific partition ?.

<Processor buffer>
     Module      pm_buffer
     # 1Mb buffer
     MaxSize    1024
     Type    Disk
     # warn at 512k
     WarnLimit    512
</Processor>

Q2.  For below usage of im_file module, what is the impact of 
"SavePos     TRUE" & "ReadFromLast FALSE" ?.

<Input myfile2>

     Module      im_file
     File        "/home/mike/Downloads/test1.log"
     SavePos     TRUE
     ReadFromLast FALSE
     Exec        $TYPE = "testlog-2";
</Input>

I had opted for "SavePos     TRUE", so that in case nxlog restarts, it 
remembers its last read position. Also, opted for 'ReadFromLast FALSE'
because whenever use it for first time, I wanted nxlog to read entire 
log and not just start from last line. Thereafter wards, as and when new 
line gets
written to log file, nxlog will ship them by default. And, as 
"SavePos     TRUE" saves last-read position, it'll ensure double 
protection during nxlog restarts.

Is above interpretations correct ?. Please advise.

Thanks,
Shanks


------------------------------------------------------------------------------
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to