Introduce RSTRNT_LOGGING variable to control debugging in plugins.