In the Copy data activity under Settings the checkbox for "Enable logging" doesn't show the option for dynamic content when you hover over it. You can update the code to use an expression but the UI still just shows the checkbox. Is this a bug?
In the Copy data activity under Settings the checkbox for "Enable logging" doesn't show the option for dynamic content when you hover over it. You can update the code to use an expression but the UI still just shows the checkbox. Is this a bug?
Hello @matt-taylor and welcome to Microsoft Q&A. Thank you for your feedback.
I'm not certain I have managed to parameterize that feature before. Have you tested it both ways? May I see an example of the parameterized JSON?
I wouldn't call your discovery a bug, but rather, an unintended feature. Should your example work, I will submit a feature request to support the same in the graphic user interface.
I could be wrong about it not being a bug, but not everything is intended to be parameterizable.
Thanks for your reply. Yes, I tested it both ways and the parameter did successfully control the output of the logs.
The JSON tree for the parameterised version looks like this:
I've attached the JSON for both an parameterised example and the same example without the parameter.
142399-parameterised-copy-data-logging.txt
142471-unparameterised-copy-data-logging.txt
I have submitted this feature request / fix internally as 1469433. You can also add it in feedback forum to give greater priority, @matt-taylor .
5 people are following this question.