mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-01 11:05:56 +01:00
improve logging of svn changesetviewer
This commit is contained in:
@@ -95,6 +95,11 @@ public class SvnChangesetViewer implements ChangesetViewer
|
|||||||
@Override
|
@Override
|
||||||
public ChangesetPagingResult getChangesets(int start, int max)
|
public ChangesetPagingResult getChangesets(int start, int max)
|
||||||
{
|
{
|
||||||
|
if (logger.isDebugEnabled())
|
||||||
|
{
|
||||||
|
logger.debug("fetch changesets. start: {}, max: {}", start, max);
|
||||||
|
}
|
||||||
|
|
||||||
ChangesetPagingResult changesets = null;
|
ChangesetPagingResult changesets = null;
|
||||||
File directory = handler.getDirectory(repostory);
|
File directory = handler.getDirectory(repostory);
|
||||||
SVNRepository repository = null;
|
SVNRepository repository = null;
|
||||||
@@ -151,6 +156,14 @@ public class SvnChangesetViewer implements ChangesetViewer
|
|||||||
public ChangesetPagingResult getChangesets(String path, String revision,
|
public ChangesetPagingResult getChangesets(String path, String revision,
|
||||||
int start, int max)
|
int start, int max)
|
||||||
{
|
{
|
||||||
|
if (logger.isDebugEnabled())
|
||||||
|
{
|
||||||
|
logger.debug(
|
||||||
|
"fetch changesets for path {} and revision {}. start: {}, max: {}",
|
||||||
|
new Object[] { path,
|
||||||
|
revision, start, max });
|
||||||
|
}
|
||||||
|
|
||||||
ChangesetPagingResult changesets = null;
|
ChangesetPagingResult changesets = null;
|
||||||
File directory = handler.getDirectory(repostory);
|
File directory = handler.getDirectory(repostory);
|
||||||
SVNRepository repository = null;
|
SVNRepository repository = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user