I want to get the full log for example from 1-12-2016 to current date of replication process .
I used the following code but never return anything:
SELECT *
FROM sys.servers AS [publishers]
INNER JOIN distribution.dbo.MSpublications AS [publications]
ON publishers.server_id = publications.publisher_id
INNER JOIN distribution.dbo.MSarticles AS [articles]
ON publications.publication_id = articles.publication_id
INNER JOIN distribution.dbo.MSsubscriptions AS [subscriptions]
ON articles.article_id = subscriptions.article_id
AND articles.publication_id = subscriptions.publication_id
AND articles.publisher_db = subscriptions.publisher_db
AND articles.publisher_id = subscriptions.publisher_id
INNER JOIN sys.servers AS [subscribers]
ON subscriptions.subscriber_id = subscribers.server_id
WHERE publishers.name = 'publisher1'
AND publications.publication = 'MergeRepl1'
AND subscribers.name = 'test1'
as replication Monitor only displays the today and yesterday log only.