Added and tuned log4j.
Added logs scripts.