Fix logging + little subdomain validation mailiing refactor