add log folder; use namespace instead of resources