AS7-6120 Support expressions for jdbc-driver major/minor version
[AS7-6331]; put back LOG_CONTEXT_KEY check.