You are here: Web User Interface > Using the Interface > System Cleanup > Tasks

Cleaning Up FME Server Logs and Other Files

SelectSystem Cleanup>Tasks

To ensure that logs and other files do not consume too much disk storage over time, FME Server is configured, by default, to delete select files based on certain conditions, including their age and whether they have been auto-archived. On theTaskstab of theSystem Cleanuppage, you can view, edit, enable, disable, or remove these maintenance tasks, or add tasks of your own.

The tasks that are pre-configured (display by default) target log and other files created by FME Server. You can learn more about FME Server log files, and how log files are auto-archived, at关于FME服务器中的日志文件。However, maintenance tasks need not be limited to the ones already configured. You can add tasks that target other FME ServerResources

Note:By default, all system cleanup tasks run once per day.

When the system's free disk space reaches specified minimum levels, FME Server triggers a Default Cleanup or Aggressive Cleanup event, in which all enabled cleanup tasks execute. In the case of an Aggressive Cleanup event, all files specified by each cleanup task are removed, regardless of theRemove Files Older Thansetting.

For more information, and how to adjust these settings, seeConfiguring System Cleanup Settings

To view or edit a file maintenance task

  1. Click on a task to open the Editing page.
  2. Specify the cleanup task settings:
    • Category:指定要对任务进行组的类别。类别允许您拥有具有相同名称的清理任务,只要它们处于不同的类别。
    • Description: Optionally, enter a description for the task.
    • Source Folder: Specify aResourcesfolder from which files are deleted.
    • Note:You cannot specify an Amazon Web Services (AWS) S3 bucket.

    • Filter Type: 如果Noneis specified, all files in the specified source folder are deleted. IfEnds WithorDoes Not End Withis specified, only files whose names end with (Ends With) or do not end with (Does Not End With) the string specified underPatternare removed.
    • Pattern:如果在下面指定或不结尾的结尾Filter Type, specify a file name-ending string to include or exclude from the task. A common scenario is to include or exclude a file type by specifying a file extension; for example:。log。然而,你可以specify any file name-ending string; for example:yr_2015.log
    • Remove Files Older Than: Only files older than the specified age, in seconds, are cleaned up.
  3. ClickOK

To add a file cleanup task

Do one of the following:

  • Check a box beside an existing task and click复制。在编辑清理任务页面上,编辑如上所述的任务设置,然后单击OK
  • ClickNew。On the Create a New Cleanup Files Task page, provide a name for the task, specify the remaining settings as described above, and clickOK

To Disable, Enable, or Remove file cleanup tasks

Check a box beside one or more tasks and clickEnable,Disable, orRemove