int tsmStartLogging ( TsmHandle *tsmh, Pyramid *pyramid, int method, const char *destination )

Start logging for old tsmApi interface

Documentation

Start logging for old tsmApi interface.

This function is provided to support logging of tile statistics in the old server-based tsmApi interface. If you use tsmOpen and tsmGetPyramid to query a tileset, then you can use this function to access the logging facilities of tsmApi.

This function is simply a wrapper for the connection-based call, tsmBeginLogging. Please refer to the documentation for that call for further details.

Returns:
TRUE if logging started successfully, FALSE if failed.
Parameters:
tsmh - a TSM session handle, as returned by tsmOpen
pyramid - a Pyramid tspec structure, as returned by tsmGetPyramid
method - one of NL_FILE, NL_SYSLOG, or NL_HOST
destination - the filename to write the log data to (if method is NL_FILE), or the host to write the log data to (if method is NL_HOST).
Author:
Martin Reddy
Version:
22 May 1998
See Also:
tsmStopLogging, tsmPutLog, tsmBeginLogging


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page