1352092 Log calls to getblocktemplate (John Newbery)
Tree-SHA512: de2c6faac8baea2f63eb499dbcd0669062a71759050cf8bcada9b454fe82f056c23635d41c755badf55158ffc40a380f82bea1f40c8a2cc51604d981515b71eb
Backport of Core PR10162
https://github.com/bitcoin/bitcoin/pull/10162