欢迎光临
我们一直在努力

如何获取复制代理的详细日志-数据库专栏,SQL Server

建站超值云服务器,限时71元/月

1.
in sql enterprise manager, click the replication monitor node to open the replication monitor on the server configured as the distributor.2.click open on the publishers node.3.click the publisher that has the publication that has the problem.4.click publication.5.
in the right-hand pane of sql enterprise manager is a list of the agents related to the publication. you see the snapshot agent, log reader agent and the push/pull subscription agent.6.identify the agent for which you need to set up output logging. 7.right-click the replication agent you identified in step 6, and then click agent properties. 8.click the steps tab, and then edit the run agent step. 9.at the end of the string under command, add:

-output c:tempoutputfile.txt -outputverboselevel [0|1|2]

specify either 0, 1, or 2 after the -outputverboselevel parameter. 10.click ok to save the changes, and then close the edit job step dialog box. 11.click ok to save the changes, and then close the replication agent properties dialog box. if the agent is set to run continuously, stop and restart the replication agent so that sql server logs the messages to the log file specified in step 9. if the file already exists, the agent appends the output to the file.
参考:http://support.microsoft.com/?id=312292

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 如何获取复制代理的详细日志-数据库专栏,SQL Server
分享到: 更多 (0)

相关推荐

  • 暂无文章