initialize logs after loading environment configuration
added --log
cleanup
added *.log