none
SyncToy Logging RRS feed

  • Question

  • Is there some way I can look at the log without having to use the GUI (File | Log)?  I would like to have a batch file (called from Scheduler) run a sync then display the log file.

     

    Thanks,

     

    Francis Mutchler-Lee

    Saturday, February 16, 2008 4:42 AM

Answers

  • Hi Francis,

     

    Someone may have a better idea then this, however, if you run SyncToyCmd.exe -R"Folder Pair" the output will be shown to the command prompt.  If you run it as follows:

     

    SyncToyCmd.exe -R"Folder Pair" > output.log

     

    All of the output will be sent to a file called output.log.  You could then have some utility open the file and display it or do whatever you want with it.

     

    Hope that helps.

     

    Liam

     

    Monday, February 18, 2008 5:09 PM

All replies

  • Hi Francis,

     

    Someone may have a better idea then this, however, if you run SyncToyCmd.exe -R"Folder Pair" the output will be shown to the command prompt.  If you run it as follows:

     

    SyncToyCmd.exe -R"Folder Pair" > output.log

     

    All of the output will be sent to a file called output.log.  You could then have some utility open the file and display it or do whatever you want with it.

     

    Hope that helps.

     

    Liam

     

    Monday, February 18, 2008 5:09 PM
  • I just realized you can also get the logging information from the UI from here:

     

    \Users\<USERNAME>\AppData\Local\Microsoft\SyncToy\2.0 (for Vista) or

    \Documents and Settings\<USERNAME>\Local Settings\Application Data\Microsoft\SyncToy\2.0 (for XP)

     

    Liam

    Wednesday, February 20, 2008 6:04 PM
  • \Documents and Settings\\Local Settings\Application Data\Microsoft\SyncToy\2.0 is also the place one can find the log under Win2003 server.

     

    Is there any way to make the log more verbose? Below is the log for a run I made today. The setup is that the left folder contains two direCtories "New" and "Old". Every night "Old" gets deleted, "New" is renamed to "Old" and a new "New" is made (with almost the same content as the old "New" and "Old" folders as most of the conten seldom changes). So what has really happend in the left folder is that approximately 1000 files resides in a directory that has been renamed (from "New" to "Old") and about 1000 new files resides in a new directory ("New").  

    It would be nice to be able to see which 23 actions SyncToy found it necesary to perform...

     

    SYNC: 04/02/2008 05:39:27:125: -------------------------------------------------------------------------
    SYNC: 04/02/2008 05:39:27:125: Starting SyncToyCmd, version 2.0.0.0, built 12-10-2007 13:10:12.
    SYNC: 04/02/2008 05:39:31:390: SyncToyCmd:
    SYNC: 04/02/2008 05:39:31:390: Preview of local ittoq (D:\Backup\Ittoqqortoormiit\, C:\test\) in time 00:00:02:375.
    SyncToy action was 'Echo'
    Found 23 actions to perform.
    Found 2.057 files that did not require action.
    Analyzed 866,1 files per second.
    Avoided copying 1.363.172.423 bytes in 2.057 files.
    Saved approximately 00:45:26:00 by not copying any files.

    SyncToy run of local ittoq (D:\Backup\Ittoqqortoormiit\, C:\test\) completed at 02-04-2008 05:39:31.
    SyncToy action was 'Echo'.
    SyncToy options were:
     Active for run all
     All files included
     Do not check file contents
     Include read-only files
     Include hidden files
     Include system files
     Do not backup older files
     Some subfolders included
    SyncToy run took 00:00:01:234.
    Copied 1.210.101 bytes in 21 files in 00:00:01:234.
    Bytes per second 980.335,0, files per second 17,0.
    Avoided copying 1.363.172.423 bytes in 2.057 files that did not require action.
    Saved approximately 00:23:10:517 by not copying all files.

    Wednesday, April 2, 2008 9:35 AM
  • "It would be nice to be able to see which 23 actions SyncToy found it necesary to perform..."

    Yes I agree ! It would be really usefull to get a list of the files that were altered - is this possible to output this information as part of the log message?

    The Preview shows the list of files that are modified. Can this be generates as the log output

    There seems to be a hidden *.dat file at the root of each folder pair - does this contain any useful information?

    Thanks,
    Liam
    Thursday, April 10, 2008 1:46 PM
  • Thanks Liam,

     

    Yes, I agree with more verbose logging capabilities and have added this to the list of items for us to discuss.

     

    Liam

     

    Thursday, April 10, 2008 4:36 PM
  • Agreed!  Verbose is not verbose enough.
    Monday, August 16, 2010 9:27 PM