Transact C client library


sp_admintracefile


This function allows a session to define a file where the Transact engine will log all its activities in text format. The second parameter designates a filename where to store the log data.
This function is only for beta release of the Transact engine. Obviously v0.2.1 of the Transact engine and its companion client library is a beta release.

ANSI Prototype

_kernel_oserror *sp_admintracefile(const TYPSID, const char *);

Possible errors

Implementation note

Only if no other active session has claimed to log data onto a file can the current request succeed, otherwise an error ERR_CONFLICT_WITH_ANOTHER_SESSION is returned to the client application.