Changed LOG macro definition to HA_LOG.