Question on duplicates and se.sitic.megatron.fileprocessor.DiffProcessor

15 views
Skip to first unread message

Kick Megatron

unread,
Oct 1, 2013, 2:32:54 PM10/1/13
to megatron...@googlegroups.com
Hi, if I understand correctly, the DiffProcessor is doing a diff with the info in the ~/tmpdiff-processor-old-files//<type_report> directory.

Is that always on the last file, or all files in that directory (also the .bak files)?
and
Is there a possibility to detect duplicates across different job-types?

Thanks,
Kick

Megatron Developer

unread,
Oct 2, 2013, 6:40:01 AM10/2/13
to megatron...@googlegroups.com

> Is that always on the last file, or all files in that directory (also the .bak files)?

The diff is always applied on the last file. The .bak files are just backup files and may be deleted.
DiffProcessor makes an OS-call to diff (may be C:\Program Files\GnuWin32\bin\diff.exe under Windows) and filter out duplicate lines.
 
> Is there a possibility to detect duplicates across different job-types?
 
Not with DiffProcessor. The easiest way to implement this an ILogEntryFilter that query the database.
 
  /Tor
Reply all
Reply to author
Forward
0 new messages