In the log I see things like:

    2017-09-13 03:54:33 init message: Rescanning...
    2017-09-13 03:54:33 Rescanning last 68616 blocks (from block 416339)...
    2017-09-13 03:54:40 AddToWallet xxxxx  update
    2017-09-13 03:55:33 Still rescanning. At block 418849. Progress=0.549138

I would be interested to see the wallet file name on each of these log lines.

Would there be any interest in merging such a PR?
class CCoinControl;
class COutput;
class CReserveKey;
class CScript;
class CTxMemPool;
class CBlockPolicyEstimator;
class CWalletTx;
struct FeeCalculation;
enum class FeeEstimateMode;
enum WalletFeature
{
    FEATURE_BASE = 10500, 
    FEATURE_WALLETCRYPT = 40000, 
    FEATURE_COMPRPUBKEY = 60000, 
    FEATURE_HD = 130000, 
    FEATURE_HD_SPLIT = 139900, 
    FEATURE_NO_DEFAULT_KEY = 159900, 
    FEATURE_PRE_SPLIT_KEYPOOL = 169900, 
    FEATURE_LATEST = FEATURE_PRE_SPLIT_KEYPOOL
};
constexpr OutputType DEFAULT_ADDRESS_TYPE{OutputType::P2SH_SEGWIT};
constexpr OutputType DEFAULT_CHANGE_TYPE{OutputType::CHANGE_AUTO};
enum WalletFlags : uint64_t {