Debug CodeSafe 5 SEE machines

csadmin exposes several commands you can use to manage SEE application logging.

The following SEE logging-related commands are supported by the csadmin utility.

config log set enabled

The config log set enabled command should be issued before the start command. It uses the following format:

/opt/nfast/bin/csadmin config set log enabled -u <SEE-machine-UUID> --esn <host-ESN>
  • <SEE-machine-UUID> is the UUID of the SEE machine created by the load command.

  • <host-ESN> is the ESN of the HSM hosting the SEE Machine.

For example:

/opt/nfast/bin/csadmin config set log enabled -u fedcba09-8765-4321-1234-567890abcdef --esn FEDC-BA09-8765

When successful, the command returns with no error.

config log set disabled

The config log set disabled command should be issued while the SEE machine is not running. It uses the following format:

/opt/nfast/bin/csadmin config set log disabled -u <SEE-machine-UUID> --esn <host-ESN>
  • <SEE-machine-UUID> is the UUID of the SEE machine created by the load command.

  • <host-ESN> is the ESN of the HSM hosting the SEE Machine.

For example:

/opt/nfast/bin/csadmin config set log disabled -u fedcba09-8765-4321-1234-567890abcdef --esn FEDC-BA09-8765

When successful, the command returns with no error.

log get

The get command returns the current SEE log contents, if any. It uses the following format:

/opt/nfast/bin/csadmin log get -u <SEE-machine-UUID>

<SEE-machine-UUID> is the UUID of the SEE machine created by the load command.

For example:

/opt/nfast/bin/csadmin log get -u fedcba09-8765-4321-1234-567890abcdef
FEDC-BA09-8765        SUCCESS
Success: Started ipcdaemon

log clear

The clear command deletes the current SEE log file if present. It uses the following format:

/opt/nfast/bin/csadmin log clear -u <SEE-machine-UUID>

<SEE-machine-UUID> is the UUID of the SEE machine created by the load command.

For example:

/opt/nfast/bin/csadmin log clear -u fedcba09-8765-4321-1234-567890abcdef
FEDC-BA09-8765        SUCCESS
log: log cleared