Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread database name field is missing in TLogRecord record
Tue, Apr 25 2006 8:20 AMPermanent Link

Mike Mayer
Hello,

There is possibility to log server engine activities using TServerLogEvent event and TLogRecord record, but
I think database name is missing in TLogRecord record.
For example in Server Admin Utility there is button "Load from Server"
which get log from DBISAM server, unfortunatelly from log file it is impossible to know to which
database session is connected.

Maybe I am something missing?

Regards,
Mike
Tue, Apr 25 2006 11:07 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mike,

<< There is possibility to log server engine activities using
TServerLogEvent event and TLogRecord record, but I think database name is
missing in TLogRecord record.  For example in Server Admin Utility there is
button "Load from Server" which get log from DBISAM server, unfortunatelly
from log file it is impossible to know to which database session is
connected. >>

Do you mean the actual database name that is being accessed by the remote
session, or do you mean the server name of the database server that the log
is being generated for ?

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Apr 25 2006 2:49 PMPermanent Link

Mike Mayer
Could you suggest solution for both cases?

<< There is possibility to log server engine activities using
TServerLogEvent event and TLogRecord record, but I think database name is
missing in TLogRecord record.  For example in Server Admin Utility there is
button "Load from Server" which get log from DBISAM server, unfortunatelly
from log file it is impossible to know to which database session is
connected. >>

Do you mean the actual database name that is being accessed by the remote
session, or do you mean the server name of the database server that the log
is being generated for ?



Wed, Apr 26 2006 11:06 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mike,

<< Could you suggest solution for both cases? >>

Well, there is no way to determine the database name from the log file since
it covers all activity on all sessions and isn't database-specific.  As for
the server name, you can get that from this remote call:

http://www.elevatesoft.com/dbisam4d5_tdbisamsession_getremoteservername.htm

--
Tim Young
Elevate Software
www.elevatesoft.com

Image