你在这里: Reference Manual > About Log Files in FME Server

About Log Files in FME Server

FME服务器为其运行的每个工作空间和所有组件创建日志文件。使用这些日志来测试和解决与未产生预期结果的组件相关的任何问题。

To ensure that log files do not consume too much disk storage over time, FME Server is configured, by default, to delete old log files. You can manage automatic log file cleanup on the系统维护page of the FME Server Web User Interface.

Log files can be accessed on theResourcesWeb用户界面的页面(日志文件夹)或来自REST API

非FME Cloud客户还可以访问日志文件<LogDir>目录:

  • Windows:C:\ ProgramData亚搏在线 \ Safe Software \ FME Server \ Resources \ logs
  • 笔记:C:\ ProgramData是%AllUsersProfile%环境变量的默认值。如果修改此位置,则相应地修改上面指定的位置。

  • Linux: \ logs

警告:Log files are stored in the FME Server System Share location, which is specified at installation time. Moving the FME Server System Share to another location after installation is not supported. For more information, see将文件系统更改为另一台计算机

Log files are grouped in subdirectories based on their function, in either a当前的or老的目录。日志文件是自动归档的当前的to the老的发生以下任一情况时的目录:

  • A new log file of the same name is created.
  • The size of the file has reached 5000 lines of text.

You can control the way log files are auto-archived, and other properties of log files, by editing the applicablemessagelogger.propertiesfile. For more information, see消息记录器属性

FME工作日志

Location:

<LogDir> \引擎\目前|旧\ jobs \ <number>\job_<value> .log.

从FME服务器运行的工作空间以与FME桌面运行的方式生成FME日志。这些文件记录FME引擎执行的翻译的详细信息,并且在从FME服务器运行的作业测试或故障排除时,可以提供重要信息。

FME job logs can also be accessed by检查工作的性质from the职位pageWeb用户界面。日志显示在“日志”选项卡下,可以下载为文本文件。

FME job log files are stored and named using the following format:

\<number>\job_<value> .log.

在哪里valueis the job ID andnumber是工作ID组,其中千分之一。从0 - 999的作业ID的日志被分组为0目录,从1000 - 1999的作业ID日志被分组为1000个目录,依此类推。

FME核心日志

出版商日志

Location:

<LogDir> \ Core \ Current |旧\出版社

This directory provides logs for each of the通知服务出版商协议supported by FME Server. Each file logs activities of any publishers configured on the respective protocol.

订户日志

Location:

<LogDir> \ Core \ Current |旧\订阅者

This directory provides logs for each of the通知服务subscriber protocolssupported by FME Server. Each file logs activities of any subscribers configured on the respective protocol.

Other Core Logs

Location:

<LogDir> \ core \目前|旧\

fmeserver.log

此日志经常用于测试和故障排除,并在每次启动FME服务器时创建。表明:

  • Authentication and authorization information, including连接到Active Directory, if applicable.
  • 连接参数与FME服务器数据库有关。
  • Messages created by theTransformation ManagerRepository Manager
  • The job_id of a specific job and its life cycle, including submission to the queue, processing by an FME Engine, and completion.

fmeconfiguration.log.

执行时日志活动backup and restore

fmeprocessmonitorcore.log

过程监视器日志经常用于测试和故障排除。每次启动FME服务器时都会创建新的流程监视日志。此日志详细介绍了启动的FME服务器组件,如果随时重新启动任何组件。该日志显示将提交给队列的转换(工作区)作业。

fmescheduler.log.

调度程序日志记录启动和关闭Scheduler组件,以及调度程序运行的每个工作空间。

fmesharedresource.log

此日志记录影响任何影响的活动共享资源目录。

FME引擎日志

Location:

<LogDir>\engine\current|old\<fmeEngine_Engine#> .log.

This log provides information about startup and translation processes of FME Engines. By default, every time you restart the FME Server service this log file is re-created.

通常,FME引擎日志不用于测试和故障排除。但是,您可以查看此日志以查看:

  • Which jobs were processed by a specific engine.
  • 运行的FME命令行和用于运行命令的子部分。如果翻译失败,则可以从中运行它FME服务器控制台using this command. The Console removes a layer of processing, which is good practice when debugging.
  • The parameters an Engine uses to process workspaces.

fmeprocessmonitorengine.log.

此日志显示:

  • The build number of the engines running the FME Server.
  • If an FME Engine fails to start and an error message indicating why, such as a licensing issue.
  • 任何由Python Shutdown脚本生成的调试信息。

服务日志

Location:

<LogDir>\service\current|old\

此目录为FME服务器支持的每个Web服务提供日志。

安装日志

Location:

<FMEServerDir>\Logs\installation

这些日志包含有关安装FME服务器的信息。如果您遇到了安装FME服务器的问题,才需要阅读它们。

createdatabase.log / createSchema.log / createUser.log

These logs contain information about initializing the FME Server Database.

Web Application Server Logs

Location:

\ umerities \ tomcat \ logs

The Web Application Server is a third-party application used to run FME ServerWeb Services。默认应用程序服务器是Apache Tomcat,但可以配置其他应用程序。应用程序服务器通常执行自己的日志记录,这些日志可能有助于解决服务问题。