Setting the Logging Level

You control what Sterling Connect:Direct FTP+ activity to log by specifying a logging level. There are four logging levels:

  • 0–No logging.
  • 1–Log date and time for commands only.
  • 2–Log date and time for commands and replies.
  • 3–Log date and time for commands, replies, and method entries.
  • 4–Log date and time for commands, replies, method entries and full communication traces.
Note: The higher the logging level, the more data is tracked, and file transfer takes longer. For optimal performance, logging level should be set to 0.

There are three ways to specify the logging level:

  1. Through the Connect:Direct® FTP+ configuration interface. See the configuration Help for information.
  2. Through the FTP debug command. To do this:
    1. Start the Connect:Direct FTP+ command line interface.
    2. Type debug level and press Enter, where level is the desired logging levels. For example, debug 3 sets the logging level to level 3, log commands, replies, and method entries.

      The logging level stays in effect for the duration of the session, or until it is changed by another debug command.

  3. Through the -d:n parameter of the cdftp command that starts Connect:Direct FTP+, where n is the logging level. For example, cdftp -d:2 open starts Connect:Direct FTP+ and sets the logging level to 2. The logging level stays in effect for the session, or until it is changed by the debug command.