Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Saied 349 posts 674 karma points
    Sep 22, 2016 @ 13:28
    Saied
    0

    Is it possible to see more verbose information?

    Hi,

    When uSync runs, sometimes it is hard to tell exactly what it did on success and failure, is there a way to view verbose information?

    Thanks, Saied

  • Kevin Jump 2309 posts 14673 karma points MVP 7x c-trib
    Sep 22, 2016 @ 13:48
    Kevin Jump
    0

    Hi

    if you set usync logging to debug (see below) you will get a lot more in the umbracoTracelog.txt file (app_data/logs)

    to set usync's logging level to debug - add the following to you config/log4net.config file.

    <logger name="Jumoo.uSync"><level value="Debug" /></logger>
    

    but also can you give me an indication of what level of detail you want, and i will see if we can add something to the messages that come back to the dashboard.

    Kevin

  • Saied 349 posts 674 karma points
    Sep 22, 2016 @ 14:46
    Saied
    100

    Hi Kevn, I will put a few screenshots of what I am referring to, but I also implemented your uSync logging changes.

    These are some I get when I run a report:

    In the below screenshot, does this mean it is going to Create a template called Not Found SCT. What does the name represent?

    enter image description here

    This next one looks a little strange because it looks like it will be doing something wrong. Looking at the first value, is it going to remove the BaseHome composition and replace it with Seo

    enter image description here

    After the import, I get some errors like this:

    enter image description here

    Also, in certain cases I am importing 450 changes, do you advise against this?

    Another thing that is happening is that when I build to dev or qa, the umbraco database is dropped and recreated from scripts. Would this mess uSync up because I get a lot of public facing errors such as No document found... and No physical template found...

  • Kevin Jump 2309 posts 14673 karma points MVP 7x c-trib
    Sep 22, 2016 @ 15:11
    Kevin Jump
    0

    Hi

    I think most of them (well the template ones anyway) are because you are not also coping the view folder ?

    uSync will do the database elements of change but you also need to have the physical files present on the disk. the Failed to Generate Template path error is uSync trying to work out what the template path is (it's either in Views or MasterPages if you are using forms) it generates the path and looks to see if a file is where it thinks it is. When it isn't it reports failed to generate path [yes this could just say, the template file is missing!]


    Looks like the matching report (for BullyDogHome) is a little out in the other screenshots.

    The actual report info is calculated based on the difference between the files on disk and those generated from the db - not the actual changes that will happen (this is both for speed and because it can be quite complicated as to what umbraco is actually going to do with a value) -

    it can be different (and sometimes a little messed up) because the ordering of the properties can confuse it. changes will happen but i suspect it's going to add some Compositions or structures not completely rename things.


    DB Changes If you are dropping your db then i would say you will get a lot of changes every time, a sync from a default blank install of umbraco has about 40 items in it. once you start adding stuff, you are looking at lot of changes.


    not really sure about Not Found SCT - that must be in a file ? looking at the uSync code it never sets any string to Not Found (it does report messages as Not found, but even then lower case 'f'

Please Sign in or register to post replies

Write your reply to:

Draft