The FTP server has multiple trace points which can be set to trace a variety of events during the course of the FTP session, and can be activated dynamically or at FTP initialization. Trace output will be sent to the SYSLOGD. If SYSLOGD is not active, then the output will be redirected to the console. As the FTP server trace can potentially output voluminous amounts of debug messages, this could cause a situation in which the console is flooded by trace data. As such, it is highly recommended that SYSLOGD be active when tracing FTP Server activity.
The tracing points which can be set in the FTP Server are as follows:
Two methods currently exist to activate the FTP client trace at client initiation:
Using the 'TRACE' parameter invokes the following tracing points:
CMD INT FSC(1) SOC(1)
To invoke multiple options at FTP client startup, the FTP.DATA file used by the server must contain DEBUG statement(s) specifying which options
are to be activated. These can be activated on multiple lines:
DEBUG ACC
DEBUG PAR
DEBUG SEC
or on a single line:
DEBUG ACC PAR SEC
If desired, FTP tracing can be activated dynamically following FTP startup using the MODIFY DEBUG console command:
/MODIFY FTPD1,DEBUG=(options)
or
/F FTPD1,DEBUG=(options)
Note that FTPD1 should be replaced with the jobname under which the daemon process runs.
Multiple options can be specified on a single command. Note that, unlike the FTP Client, specification of options is notcumulative.
Each time the MODIFY command is issued, previous trace points are deactivated, and the newly specified trace points are activated.
DEBUG=NONE is specified to toggle off the tracing. Additionally, DEBUG=? will display what trace options are currently active.
Examples of these commands (and the server's responses) are illustrated in the following console log:
0290 F FTPD1,DEBUG=?
0090 +EZYFT82I ACTIVE SERVER TRACES - NONE
0290 F FTPD1,DEBUG=(ACC,INT,FSC)
0090 +EZYFT82I ACTIVE SERVER TRACES - INT ACC FSC(1)
0290 F FTPD1,DEBUG=?
0090 +EZYFT82I ACTIVE SERVER TRACES - INT ACC FSC(1)
0290 F FTPD1,DEBUG=(PAR,SEC,SOC)
0090 +EZYFT82I ACTIVE SERVER TRACES - PAR SEC SOC(1)
0290 F FTPD1,DEBUG=?
0090 +EZYFT82I ACTIVE SERVER TRACES - PAR SEC SOC(1)
0290 F FTPD1,DEBUG=NONE
0090 +EZYFT82I ACTIVE SERVER TRACES - NONE
0290 F FTPD1,DEBUG=?
0090 +EZYFT82I ACTIVE SERVER TRACES - NONE