美文网首页UiPath Studio 中文文档
【UiPath Studio 中文文档】71 日志 - Stud

【UiPath Studio 中文文档】71 日志 - Stud

作者: Creator_蔚蓝 | 来源:发表于2018-12-23 12:06 被阅读116次
    Studio Traces

    Studio Traces 是由 Studio 生成的诊断日志消息,包含与Studio 行为相关的信息。

    日志等级设置和日志文件路径可以通过编辑 <安装目录>\UiStudio.exe.config 文件来修改。如果这个目录不存在,它会在事件发生的时候自动创建。可以在 <listeners> 标签下找到这个部分。它应该如下所示:

    <listeners>
    <listener type="UiPath.Workflow.Logging.ApplicationFileLogListener" IgnoreCatelLogging="true" FilePath="%LocalAppData%\UiPath\Logs\Studio.log" IsDebugEnabled="false" IsInfoEnabled="true" IsWarningEnabled="true" IsErrorEnabled="true"/>
    </listeners>
    

    工作室的默认选定日志级别是 Error (错误)、Warning(警告)和 Information(信息)。

    UiPath Studio 日志等级

    要更改日志记录级别,只需更改要编辑的日志级别参数后面的布尔变量。例如,若要关闭信息日志级别,请将 IsInfoEnabled="true" 参数修改为 IsInfoEnabled="false"

    Studio 默认的日志文件路径是:%localappdata%\UiPath\Logs\Studio.log。要更改日志文件路径,只需使用要使用的路径更改 FilePath 参数的值。例如,要将日志文件路径移动到桌面,将参数 FilePath="%LocalAppData%\UiPath\Logs\Studio.log"” 改为 "FilePath="%UserProfile%\Desktop"

    官网原文链接


    更多 UiPath 相关的资讯,请关注公众号:UiPath教程
    由于简书禁止直接在文章中插入公众号二维码,请点击 这里 了解添加该公众号的细节。

    相关文章

      网友评论

        本文标题:【UiPath Studio 中文文档】71 日志 - Stud

        本文链接:https://www.haomeiwen.com/subject/iaziwftx.html