Below is the procedure below explains how to get logs off Mars Box from expert mode using FTP.
If you have an scp server you can use the pnlog scpto command. But if all you have is an FTP server, then this is more complicated. First we do the pnlog scpto command, but we do that only so the system packages up the logs pretty for us.
[pnadmin]$ pnlog scpto test
scp /tmp/error-logs.tar.gz tmp/error-logs.tar.gz
cp: cannot create regular file `tmp/error-logs.tar.gz':
No such file or directory Fail to copy error-logs.tar.gz, skip copying janus-log.tar.gz.
The argument ‘test’ is just a name. Syntax pnlog scpto . But even when scp fails, mars copies the file to ‘tmp’ directory. It saves some steps of logging into expert mode and copying files over to tmp directory.