<?xml version="1.0" encoding="utf-8" ?> <logging> <verbosity level='warning'/> <transactions> <policy type='AspNetCoreRequest' if='t.Request.Path == "/Privacy"'> <verbosity> <source level='debug'/> </verbosity> </policy> <policy type='AspNetCoreRequest' if=' t.Request.Path == "/"' sample='OnceEveryXSeconds(10, t.Request.Path)'> <verbosity> <source level='debug'/> </verbosity> </policy> </transactions> </logging>