update python script to substitute common/log4j logging with slf4j
polish codes