I was not able to reproduce exactly the same error (instead I got a "RuntimeError: No matching overloads found"). Though, I see a problem in your Python code:
engineConfig = JPackage("org").eclipse.birt.report.engine.api.EngineConfig
What you get in engineConfig is a Class.
setLogConfig() is not a static method, so you have to instantiate the EngineConfig class first:
# Get EngineConfig class
EngineConfig = JPackage("org").eclipse.birt.report.engine.api.EngineConfig
# Instantiate EngineConfig
engineConfig = EngineConfig()
# Call method
engineConfig.setLogConfig("/home/di/logs")