Environemnt: WebDeploy doesn't output any logging info

Pure Krome's Avatar

Pure Krome

Jan 12, 2016 @ 12:26 AM

Hi Hi :)

previously, we were doing website deployment using the AV Deployment Tab (in the UI, in a project) and copy/pasted our azure web deploy settings there and magic happened :)

Most importantly, we saw LOGGING information dumped to the AV Console.

e.g.

Time Elapsed 00:00:34.29
Uploading artifact <snip>.zip (37.8 MB)...OK
Deploying using WebDeploy provider
Synchronizing contents of "<snip>" artifact to website <snip>__Staging on server <snip> using WebDeploy
Synchronizing website content
Info: Using ID '<snip>' for connections to the remote server.
Info: Adding directory (<snip>__Staging\bin\af).
Info: Adding directory (<snip>__Staging\bin\ar).
Info: Adding directory (<snip>__Staging\bin\bg).
Info: Adding directory (<snip>__Staging\bin\bn-BD).
Info: Adding directory (<snip>__Staging\bin\cs).
Info: Adding directory (<snip>__Staging\bin\el).
Info: Adding directory (<snip>__Staging\bin\fa).
Info: Adding directory (<snip>__Staging\bin\fi-FI).
...
Info: Updating file (<snip>__Staging\Web.config).
Info: Adding ACL's for path (<snip>__Staging)
Info: Adding ACL's for path (<snip>__Staging)
Info: Adding ACL's for path (<snip>__Staging/App_Data)
Total changes: 119 (68 added, 6 deleted, 45 updated, 32,433,783 bytes copied)
Deployment completed
Updating build cache
All cache items are up to date.
Build success

etc . You get the drift.

Now we're using Web Deploy via the Environment setting. And we get no logging info :( At first, we weren't sure it even worked...

e.g.

418 total, 0 failed, 3 skipped, took 113.476 seconds
Uploading artifact <snip>.zip (37.8 MB)...OK
Deploying using Environment provider
Started deployment to <snip> environment
Updating build cache
Saving "packages"...OK
Build success

Could we please get the logging info back?

If yes, would you like me to make a GH issue and refence this convo.

Cheers!

  1. Support Staff 1 Posted by Feodor Fitsner on Jan 12, 2016 @ 01:06 AM

    Feodor Fitsner's Avatar

    That's right, because that log is now available under Environment deployment. It's not outputting to build log.

    -Feodor

  2. 2 Posted by Pure Krome on Jan 12, 2016 @ 01:27 AM

    Pure Krome's Avatar

    /me checks..

    AH! wow. didn't know that :)

    (and I can see my log info .. both passing deploys and the failed one).

    Those logs have a GREEN or RED UI bar that represents if that deploy worked.

    could the status of that deploy be displayed in the console log? maybe?

    eg.

    Deploying using Environment provider
    Started deployment to <snip> environment
    Deployment succeeded
    Updating build cache
    ...
    

    Deploying using Environment provider
    Started deployment to environment
    Deployment failed.
    Terminating...

    
    is it possible to tie the environemtn deployment status to the main build process? or is it out of proc or something?
    
  3. Support Staff 3 Posted by Feodor Fitsner on Jan 12, 2016 @ 02:13 AM

    Feodor Fitsner's Avatar

    Deployment is being run asynchronously and can complete later than the build.

  4. 4 Posted by Pure Krome on Jan 12, 2016 @ 02:20 AM

    Pure Krome's Avatar

    Sweet. questions all answered. ta!

    TL;DR; by design, Read the Docs.

    cheers!

  5. Pure Krome closed this discussion on Jan 12, 2016 @ 02:20 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac