数据库

本类阅读TOP10

·SQL语句导入导出大全
·SQL Server日期计算
·SQL语句导入导出大全
·SQL to Excel 的应用
·Oracle中password file的作用及说明
·MS SQLServer OLEDB分布式事务无法启动的一般解决方案
·sqlserver2000数据库置疑的解决方法
·一个比较实用的大数据量分页存储过程
·如何在正运行 SQL Server 7.0 的服务器之间传输登录和密码
·SQL中两台服务器间使用连接服务器

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
如何获取复制代理的详细日志

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

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


相关文章

相关软件