Created log config file.
Added some logging