Customer reports that the Diskspace on their server is being consumed by CWSServices.log files
This error appears when Global search has been enabled on any version of Casewise Evolve or Erwin Evolve web platform because log files are generated daily
To Resolve this issue we need to delete the log files that are no longer needed, this can be done manually by navigating to the log folder and selecting all but the latest .log files and deleting them.
Alternatively a batch script can be created which can either be run periodically by an Administrator or can be automated using Task scheduler.
Example batch file that will delete anything older than 3 days, just insert the Path to log folder and save as a .bat file:
___________________________________________________________________________________________________________________
@ECHO on
timeout /t 03
:Casewise Evolve command line
ForFiles /p "Path to log folder" /s /d -3 /c "cmd /c del @file"
timeout /t 05
EXIT 0
___________________________________________________________________________________________________________________
3. In the right pane, click on the link "Create task"
4. A new window titled "Create Task" will be opened. On the "General" tab, specify the name of the task. Pick an easily recognizable name like "Delete Old Files".
5. Switch to the "Actions" tab. There, click the "New..." button:
6. The "New Action" window will be opened. There, you need to specify the following data.
Action: Start a program
Program/script: Delete log files.bat
Add arguments(optional): /p "Path to log folder" /s /d -3 /c "cmd /c del @file"
7. Go to the Triggers tab in your task. There, click on the New button
8. Under Begin the task, select "On a schedule" in the drop down list and click the OK button. Specify when you want the task to run.
9. Switch to the "Settings" tab. Enable the options
- Allow task to be run on demand.
- Run task as soon as possible after a scheduled start missed.
10. Click OK to create your task.
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Nutzungsbedingungen Datenschutz Cookie Preference Center