add profile and level checking in ParamValidation
modify trace info for LEVEL_UNKNOWN
Merge pull request #1670 from ruil2/level

add profile and level checking in ParamValidation