init logger. deals with logs
makedirs to suite mkdir -p
rename log4 to logger