Use the capture command to log the packets on the desired interface (e.g. capture mycapture interface inside). Use no capture to stop the logging.
This can then be viewed by pointing your browser to https:/capture/. If you would like to use an analyser (e.g. Ethereal) go to /capture//pcap to download the pcap file which can be imported into Ethereal.
HTH,
Colin.