In Strategy 9.x a new diagnostic component called "MSql" is introduced to replace the Metadata Server diagnostic component. In order to capture the SQL submitted by the Metadata Server, follow the steps below:
Note: Step 4 and 5 are optional. With Metadata Server SQL trace enabled, the log contains returned row count for each SQL statement. Users can decide if it's necessary to have the additional information.

Note:
1. Enabling the SQL tracing is used for troubleshooting purposes since performance can be greatly reduced due to intensive hard-disk access.
2. Starting from 10.x, MSql component is not available under "CastorServer Instance". Enabling dispatchers of MSql under "Machine default" in 10.x works for both 2-tier and 3-tier.