Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在 Azure 开发中使用 System.Diagnostics.Trace.WriteLine 时,该信息存储了多长时间。当工作者角色或网络角色被回收时,它会被清除吗?
如果您使用 Windows Azure 诊断程序按计划将该数据推送到表存储,它会永久存储(直到您将其删除)。
如果您不将数据推送到存储,它会一直存在,直到循环缓冲区填满本地磁盘或重新启动角色实例。
如果您根本没有运行诊断程序,那么它就会消失在以太中。:)