application sample how to use policy injection application block for improved logging