Changeset 33089

Show
Ignore:
Timestamp:
17.05.2019 10:00:01 (5 weeks ago)
Author:
kjdon
Message:

modified reset-logs to include usage.log

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/build.xml

    r33012 r33089  
    26022602    It seems to have a problem with cat or </dev/null, with or without the < sign. --> 
    26032603  <target name="reset-logs" description="Empties catalina.out, greenstone.log and contents of web/logs/tmp"> 
    2604     <echo>Truncating catalina.out, solr.log, greenstone.log and server.log, and emptying ${web.writablehome}/logs/tmp</echo>     
     2604    <echo>Truncating catalina.out, solr.log, greenstone.log, usage.log and server.log, and emptying ${web.writablehome}/logs/tmp</echo>     
    26052605    <exec executable="rm" os="${os.unix}" dir="${catalina.home}/logs" spawn="false"> 
    26062606      <arg value="-f"/> 
     
    26132613    <exec executable="rm" os="${os.unix}" dir="${web.writablehome}/logs" spawn="false"> 
    26142614      <arg value="-f"/> 
     2615      <arg value="usage.log"/> 
     2616    </exec> 
     2617    <exec executable="rm" os="${os.unix}" dir="${web.writablehome}/logs" spawn="false"> 
     2618      <arg value="-f"/> 
    26152619      <arg value="server.log"/> 
    26162620    </exec> 
     
    26262630    <exec executable="touch" os="${os.unix}" dir="${web.writablehome}/logs" 
    26272631      spawn="false"> 
     2632      <arg value="usage.log"/> 
     2633    </exec> 
     2634    <exec executable="touch" os="${os.unix}" dir="${web.writablehome}/logs" 
     2635      spawn="false"> 
    26282636      <arg value="server.log"/> 
    26292637    </exec> 
     
    26342642    <exec executable="cmd" osfamily="windows" dir="${web.writablehome}/logs" spawn="false"> 
    26352643      <arg line="/c echo. > greenstone.log"/> 
     2644    </exec> 
     2645     <exec executable="cmd" osfamily="windows" dir="${web.writablehome}/logs" spawn="false"> 
     2646      <arg line="/c echo. > usage.log"/> 
    26362647    </exec> 
    26372648    <exec executable="cmd" osfamily="windows" dir="${web.writablehome}/logs" spawn="false">