Open ymolinet opened 9 years ago
What exactly do you mean? Adding a new line like below?
2014-11-15 09:30:53,045 [9] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Repository name: Main repository
?
I think it's better to add the repo name on each line because more than one repo could be in sync at the same time.
2014-11-15 09:30:53,045 [9] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - [RepoName] - Created CMIS session: DotCMIS.Client.Impl.Session 2014-11-15 09:30:53,045 [9] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - [RepoName] - ChangeLog capability: True 2014-11-15 09:30:53,045 [9] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Get folder tree support: True 2014-11-15 09:30:53,045 [9] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Get descendants support: True 2014-11-15 09:30:53,045 [9] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - Chunked Up/Download disabled 2014-11-15 09:30:53,060 [4] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - First sync, invoke a full crawl sync 2014-11-15 09:30:53,066 [10] DEBUG CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder [(null)] - [RepoName] - First sync, invoke a full crawl sync
Lines are already quite long, but that can be useful indeed... how about a number like 1, 2 ,3, meaning it is the first or second repo, for instance?
I think that name is more efficient. I don't remember if Context Menu sort repo by name, but if the order if not the same, it could be more difficult to understand the repo used in log file.
We are in a log file, in debug mode, we need a lot of information for debugging. Reduce log verbose, reduce log entries.