
<configuration>

  <logger name="a" level="WARN"/>

  <if condition='property("HOSTNAME") != null'>
    <then>
      <root level="ERROR"/>
    </then>
    <else>
      <root level="INFO"/>
    </else>
  </if>

  <root level="WARN"/>


</configuration>