Fixed bug loading resource from bundle.
Added **/log to gitignore