Ignore etc folder.
Create log folder if not exist.