输出日志文件
您可以从 系统设置 或 用户设置 启用系统或用户级别的日志记录。启用日志记录时,日志文件的内容与每次(包括所有通过 GUI、命令行或 API )运行的工作流 结果窗口 内容相似。
生成的日志文件名为 "Alteryx_Log_*sequential#*.log " ,采用 UTF -16 格式。
启用和禁用日志记录
通过系统设置启用日志记录
要通过系统设置来启用日志记录,您需要是管理员用户。如果您是管理员用户...
在系统设置中,导航至 Engine > General 。
在 Logging Directory 字段中,指定要捕获每次工作流或应用程序运行产生的输出日志的目录。
要禁用日志记录,请将日志记录目录字段留空。
通过用户设置启用日志记录
您还可以通过 Alteryx Designer 的用户设置启用日志记录。要通过用户设置启用日志记录...
在 Designer 中,导航至 选项 > 用户设置 > 编辑用户设置 。
在用户设置 常规 选项卡中,选中 覆盖系统设置 复选框。
在 Logging Directory 字段中,指定要捕获每次运行工作流或应用程序产生的输出日志的目录。
要禁用日志记录,请将日志记录目录字段留空。
日志文件示例
以下是从名为
Engine x64_Log_1304355770.log
的日志记录目录中找到的示例工作流生成的日志文件示例:
Started running C:\Program Files\Alteryx\2011\Engine\RuntimeData/Samples\AdvancedSamples\DataProbFlexibility.yxmd at Mon May 02 11:02:50 2011 00:00:0.016 - FieldConversionError - ToolId 40: Code: "12 Red Patagonia" was truncated 00:00:0.047 - Warning - ToolId 22: The Value "06 Purple Sierra Design" had too many parts to fit # of output fields 00:00:0.078 - FieldConversionError - ToolId 40: Code: "06 Purple Sierra Design" was truncated 00:00:0.094 - Warning - ToolId 22: The Value "13 Yellow Mountain Hardware" had too many parts to fit # of output fields 00:00:0.109 - FieldConversionError - ToolId 40: Code: "13 Yellow Mountain Hardware" was truncated 00:00:0.125 - Warning - ToolId 22: The Value "00 Orange North Face" had too many parts to fit # of output fields 00:00:0.156 - FieldConversionError - ToolId 40: Code: "00 Orange North Face" was truncated 00:00:0.172 - FieldConversionError - ToolId 40: Code: "01 Frost ISIS" was truncated 00:00:0.187 - FieldConversionError - ToolId 40: Code: "34 Cranberry Blisswear" was truncated 00:00:0.203 - FieldConversionError - ToolId 40: Code: "45 Black OpenCasket" was truncated 00:00:0.218 - Warning - ToolId 22: The Value "90 OffWhite Frozen Tundra" had too many parts to fit # of output fields 00:00:0.250 - FieldConversionError - ToolId 40: Code: "90 OffWhite Frozen Tundra" was truncated 00:00:0.265 - Warning - ToolId 22: The Value "12 Purple Purple Haze" had too many parts to fit # of output fields 00:00:0.281 - FieldConversionError - ToolId 40: Code: "12 Purple Purple Haze" was truncated 00:00:0.296 - Warning - ToolId 22: The Value "22 Red Moab Extreme" had too many parts to fit # of output fields 00:00:0.312 - FieldConversionError - ToolId 40: Code: "22 Red Moab Extreme" was truncated 00:00:0.343 - FieldConversionError - ToolId 40: Code: Field Conversion Error Limit Reached 00:00:0.359 - Warning - ToolId 22: The Value "89 Green Rocks and Chicks" had too many parts to fit # of output fields 00:00:0.374 - ToolId 7: C:\Program Files\Alteryx\2011\Engine\RuntimeData\Samples\SampleData\Clothing_Search.csv|12 records were read from "C:\Program Files\Alteryx\2011\Engine\RuntimeData\Samples\SampleData\Clothing_Search.csv" 00:00:0.390 - ToolId 8: C:\Users\tmccoyAppData\Local\Temp\Engine_1600_5bb019bb934f4fbcae5368d130cac6c6.yxdb|12 records 00:00:0.437 - ToolId 9: 12 records were successfully parsed and 0 were not. 00:00:0.468 - ToolId 10: C:\Users\tmccoyAppData\Local\Temp\Engine_1600_18cdf349b8fd4ac99d8fec72e38357ac.yxdb|12 records 00:00:0.499 - ToolId 21: C:\Users\tmccoyAppData\Local\Temp\Engine_1600_c70fbc173cd843b6a6c097db140a9c60.yxdb|12 records 00:00:0.546 - ToolId 24: C:\Users\tmccoyAppData\Local\Temp\Engine_1600_c3c244e20c3a4f769d66b87ab940e1c7.yxdb|12 records 00:00:0.608 - ToolId 26: C:\Users\tmccoyAppData\Local\Temp\Engine_1600_f5e7901378c34138a97e540d3647f8ea.yxdb|12 records 00:00:0.655 - ToolId 29: C:\Users\tmccoyAppData\Local\Temp\Engine_1600_2d5429619edf469a9917542d02034202.yxdb|12 records 00:00:0.686 - ToolId 41: C:\Users\tmccoyAppData\Local\Temp\Engine_1600_91ffa3e9d04140aca51aadf6fcfd999e.yxdb|12 records 00:00:0.733 - ToolId 47: 12 records were successfully parsed and 0 were not. 00:00:0.749 - ToolId 45: C:\Users\tmccoyAppData\Local\Temp\Engine_1600_80489f5d99bd43cf80f3e01d622ee57f.yxdb|12 records Finished in 00:00:0.796 with 11 field conversion errors and 7 warnings