Version 1

    This ant task clears the log of running instance of JBoss.

    That is achieved by restarting the logging service.

     

    Usage:

     

    Copy the files e.g. to the lib dir.

    Then:

     

    <import file="lib/clear-jboss-log.xml" />

    ...

    <target ...>

        <antcall target="clear-jboss-logs" />

    </target>

     

    Currently not configurable, works only for localhost. Feel free to add configurability