enable nslog for debugging