Fixes for logging and config permissions