document enabling logging