TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


variable:tmssapilogdir
 
 

TMSSAPILOGDIR

The Environmental Variable TMSSAPILOGDIR performs the following:

  1. Enables TapeTrack low level API communications debugging.
  2. Specifies the path of the directory where log files debugging files will be created.
Examples shown use fictional directories. Replace directory path with the actual directory you want to save debugging log files to on your own system

Example

Starting TapeMaster with the variable TMSSAPILOGDIR enabled.

set TMSSAPILOGDIR=C:\Users\jsmith.GAZILLABYTE\Desktop\logs
"C:\Program Files\TapeTrack\TapeTrack TapeMaster\TMSSMaster.exe"

Output from TMSSAPILOGDIR will be written to a text file to the set directory.

10:35:48: TMSS10API_Init (API Version=Oct 30 2024 16:55:34)
10:35:50: TMSS10API_Send: Function(ID-Server) Length(0) Flags(0) OptArgs(0)
10:35:50: TMSS10API_Send: RC(Send failed or timed-out) Feedback(0) MiliSecs(0) Avail(0) Count(0) Length(0)
10:35:56: TMSS10API_Connect: Server(localhost) Port(5000)
10:35:56: TMSS10API_Connect: Connection OK IP(127.0.0.1)
10:35:56: TMSS10API_Send: Function(RegisterClient) Length(32) Flags(0) OptArgs(0)
10:35:56: TMSS10API_Send: RC(Request OK) Feedback(0) MiliSecs(0) Avail(0) Count(0) Length(0)
10:35:56: TMSS10API_Send: Function(Logon) Length(620) Flags(128) OptArgs(0)
10:35:56: TMSS10API_Send: RC(Request OK) Feedback(0) MiliSecs(0) Avail(0) Count(1) Length(64)
10:35:56: TMSS10API_Send: Function(ID-Server) Length(0) Flags(0) OptArgs(0)
10:35:56: TMSS10API_Send: RC(Request OK) Feedback(0) MiliSecs(0) Avail(0) Count(1) Length(1128)
10:35:56: TMSS10API_Send: Function(ID-Server) Length(0) Flags(0) OptArgs(0)
10:35:56: TMSS10API_Send: RC(Request OK) Feedback(0) MiliSecs(0) Avail(0) Count(1) Length(1128)

Example Output Using TMSS10Ping

set TMSSAPILOGDIR=C:\Users\jsmith.GAZILLABYTE\Desktop\logs
TMSS10Ping localhost -P 5000

Output from TMSSAPILOGDIR will be written to a text file to the set directory.

10:14:46: TMSS10API_Init (API Version=Apr 20 2019 17:02:53)
10:14:46: TMSS10API_Connect: Server(localhost) Port(5000)
10:14:46: TMSS10API_Connect: Connection OK IP(127.0.0.1)
10:14:46: TMSS10API_Send: Function(Ping) Length(0) Flags(0) OptArgs(0)
10:14:46: TMSS10API_Send: RC(Request OK) Feedback(0) MiliSecs(0) Avail(0) Count(0) Length(0)
10:14:46: TMSS10API_Send: Function(Ping) Length(0) Flags(0) OptArgs(0)
10:14:46: TMSS10API_Send: RC(Request OK) Feedback(0) MiliSecs(0) Avail(0) Count(0) Length(0)
10:14:46: TMSS10API_Send: Function(Ping) Length(0) Flags(0) OptArgs(0)
10:14:46: TMSS10API_Send: RC(Request OK) Feedback(0) MiliSecs(0) Avail(0) Count(0) Length(0)
10:14:46: TMSS10API_Send: Function(Ping) Length(0) Flags(0) OptArgs(0)
10:14:46: TMSS10API_Send: RC(Request OK) Feedback(0) MiliSecs(0) Avail(0) Count(0) Length(0)
10:14:46: TMSS10API_Term

See Also

variable/tmssapilogdir.txt · Last modified: 2025/01/21 22:07 by 127.0.0.1