Re: VB6 and antivira's



"Johnny E. Jensen" <johnny@xxxxxxxxx> wrote in message news:OiPOLnKPIHA.2376@xxxxxxxxxxxxxxxxxxxxxxx

I found out that McAfee checks the InternalTrace.log
file each time it been written to.???? Other Anviviras
don't perform this check. So to my quistion: Is there a
way to prevent this check, from the way i writes to the
logfile?

McAfee is notorious for slowing down machines, something which you often don't notice unless you have the misfortune to use a slow old fashioned machine that has a modern version of McAfee installed. I don't use McAfee myself any more, but I'm sure there will be a way of taming it in this specific respect. However, that won't help you in respect of your users' machines unless all of your users do the same. Looking at the way you are creating the log (at least two entries every time a function is used) I would imagine it can get to quite a size, so it might instead (and possibly as well) be a good idea to split your log file up into a number of much smaller files (perhaps starting a new file when the current file exceeds 10K or so) so that when McAfee (or anything else) checks the writes it will have only a small file to check, which should speed it up quite a lot. Perhaps mybiglog000001.log, mybiglog000002.log, etc. If you ever want your user to send you the logs for inspection then you could ask them to zip and send the entire set, or alternatively you could build a small facility built into your app that the user can select which will concatenate the log files for the user so that they could send a single large complete log to you. Anyway, something along those lines might be a good idea. I don't produce software for sale and so I don't often find the need for log files, so maybe others here will have a much better idea, but those are my initial thoughts for what they're worth.

Mike


.



Relevant Pages

  • Re: VB6 and antiviras
    ... McAfee is notorious for slowing down machines, ... fashioned machine that has a modern version of McAfee ... concatenate the log files for the user so that they ... I don't know about McAfee but I imagine it's similar to ...
    (microsoft.public.vb.general.discussion)
  • Re: McAfee slows everything to a crawl.
    ... to update as well comparing to that of mcafee ... I use Nod32, which is fine. ... It turned out that there was 30GB of log files ... in the MSC sub folder of the application data folder. ...
    (alt.comp.anti-virus)
  • Re: desktop hijacker
    ... | I followed your instructions for SmitRem and SmitFraud -- all seems to be ... As for the log files, I don't see these where you said ... you would have seen it download the needed filesd and then performed then McAfee ...
    (microsoft.public.windowsxp.security_admin)
  • Re: max-cache-size doesnt work with 9.5.0b1
    ... The machines are diskless, so writing larger log files ... Note that, if this is a thread-related bug, it may not always be ... in the first half of the graphs for both cases). ...
    (freebsd-performance)
  • Is a Service not allowed to write to a network share?
    ... local network, just the 3 machines, no wider access. ... MessageQueueing and also in one instance a VB.Net Windows Forms ... out-of-date log files on the Hosts. ...
    (microsoft.public.dotnet.languages.vb)

Loading