Fix docroot defaulting (was accessing non-existent param); allow overriding logroot