在 AutoCad 2011 中打开详细日志记录
我有一个 AutoCad 插件。插件文件夹已添加到支持文件搜索路径中,但在高级用户下启动时,autocad 不会自动加载插件。
我正在寻找解决问题的方法,因此我转向日志记录。在“文件”选项卡上的选项对话框中,我指定了日志文件位置。它位于用户的配置文件文件夹内,因此用户应该有权写入该文件夹。
当我启动 Autocad 时,我希望它写入指定的日志文件,但没有创建日志文件。我想日志记录刚刚关闭或具有较低的详细程度以显示插件相关信息。
如何配置 autocad 以便它写入详细日志以允许调试插件加载失败?
谢谢!
I have an AutoCad addon. The addon folder is added to the support file search path but when launched under a Power User autocad doesn't automatically load the addon.
I'm looking for a way to troubleshoot the problem so I turned to logging. In the options dialog on the Files tab I have Log File Location specified. It is inside the user's profile folder so the user should have rights to write to this folder.
When I launch Autocad I expect it to write to the specified log file but no log file is created. I suppose the logging is just turned of or has a low level of verbosity to show the addon related info.
How do I configure autocad so that it writes verbose logs allowing to debug addon loading failures?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当启用日志时,AutoCAD 仅写入文本窗口的内容。所以它不会帮助您调试插件的加载。
AutoCAD only write the contents of the text window when you enable the log. So it won't help you to debug the loading of your addon.