【发布时间】:2026-01-08 04:35:02
【问题描述】:
我在 dll 中编写了一个扩展存储过程。 每次调用时,SQL Server 都会在 Windows 事件日志(Windows Logs\Application)中写入无用的“信息”:
Event Type: Information
Event Source: MSSQLSERVER
Event Category: (2)
Event ID: 17055
Date: 04.09.2009
Time: 14:54:57
User: N/A
Computer: 4STORYTESTDB
Description:
8128 :
Using 'D:\AllProjects\mantainance\TBalanceSP.dll' version 'UNKNOWN' to execute extended stored procedure 'TGetAccountBalance'. This is an informational message only; no user action is required.
我经常调用这个程序,每秒 10-20 次。正如我们在俄罗斯所说,事件日志变成“zasrannym”(“充满 s..t”)。
如何禁用此日志消息?
【问题讨论】:
标签: sql-server stored-procedures logging event-log