[MERGED] Logging inputs and outputs for troubleshooting

This topic has been merged into Logging inputs and outputs for troubleshooting.