Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Disable log files
Sat, Feb 20 2010 3:12 AMPermanent Link

Tomas
Hello,

We are suing DBISAM 3.x server, is it possible to disable log file? We don't want that DBISAM server will create log files.

Regards,
Tomas
Sat, Feb 20 2010 2:11 PMPermanent Link

"J.B. Ferguson"
It's amazing how the misplacement of just one letter can really make
you sit up and take notice! Smiley

Jan

--

Tomas wrote:

> Hello,
>
> We are suing DBISAM 3.x server, is it possible to disable log file?
> We don't want that DBISAM server will create log files.
>
> Regards,
> Tomas
Sat, Feb 20 2010 2:36 PMPermanent Link

"Rita"

"J.B. Ferguson" <jnobspamfergnospamusonatgnospammaildotcom> wrote in message
news:9DFCD3A7-6467-4804-946A-11C8E9BF4DDD@news.elevatesoft.com...
> It's amazing how the misplacement of just one letter can really make
> you sit up and take notice! Smiley
>

Lol I thought Tim was heading for the law courts too.
Rita

Mon, Feb 22 2010 3:49 AMPermanent Link

Tomas
Sorry, it should be "using" Wink

Back to my original question, how to disable log files?
Mon, Feb 22 2010 6:05 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Tomas,

<< We are suing DBISAM 3.x server, is it possible to disable log file? We
don't want that DBISAM server will create log files. >>

You can do so, but you'll have to modify the dbsrvr.dpr project and
recompile it.  What you want to do is remove this event handler in the
main.pas unit in the project:

procedure TMainForm.ServerEngineServerLogEvent(Sender: TObject;
 LogRecord: TLogRecord);
begin
  FileSeek(LogFileHandle,0,2);
  FileWrite(LogFileHandle,LogRecord,SizeOf(TLogRecord));
end;

The log file will then always be empty.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image