Setting IIS' Site ID as part of the deployment

jonathan's Avatar

jonathan

19 Jan, 2015 02:22 PM

I am pushing all of my log files from all of my servers into Loggly, the problem is IIS doesnt log the site name as it appears in IIS but rather W3SVC+ID as the application name, as all of these a different when deployed using the deployment agent to setup a new server and cannot get the logs to correlate

Do you have way for me to set the IIS site ID on first deployment ?

Regards

Jonathan

  1. Support Staff 1 Posted by Feodor Fitsner on 19 Jan, 2015 05:35 PM

    Feodor Fitsner's Avatar

    Hi Jonathan,

    IIS 7.x configuration is basically a set of XML files. You can easily modify it in deploy.ps1 added to your deployment package: http://www.iis.net/configreference/system.applicationhost/sites/sit... - there are multiple command line examples.

    I'm not sure if those settings could be overridden in application web.config: http://www.iis.net/configreference/system.webserver/httplogging

  2. 2 Posted by jonathan on 28 Jan, 2015 03:19 PM

    jonathan's Avatar

    I wasnt refering to the logging side of things, this was more having the same setup on each machine, this would mean having all sites having matching IIS site ids

  3. Support Staff 3 Posted by Feodor Fitsner on 28 Jan, 2015 03:49 PM

    Feodor Fitsner's Avatar

    Oh, you mean Site ID - the number after W3SVC/?

  4. 4 Posted by jonathan on 28 Jan, 2015 03:53 PM

    jonathan's Avatar

    Yeah , that’s what I am after ☺

    Jonathan Gill
    Director

    [cid:[email blocked]]

    Ascot House, 22-24 Albion Place, Maidstone, ME14 5DZ
    Invicta House, Pudding Lane, Maidstone, ME14 1NX
    Royal Exchange, City of London, Bank, EC3V 3LR

    DD. +44 (0) 1622 621 386
    TEL. +44 (0) 844 247 8884
    MOB. +44 (0) 7971 925 186

    WWW.WATCHFINDER.CO.UK<http://www.watchfinder.co.uk/>

  5. Support Staff 5 Posted by Feodor Fitsner on 28 Jan, 2015 04:03 PM

    Feodor Fitsner's Avatar

    Will take a look if this number could be set through API.

  6. 6 Posted by jonathan on 28 Jan, 2015 04:06 PM

    jonathan's Avatar

    Thanks

    Jonathan Gill
    Director

    [cid:[email blocked]]

    Ascot House, 22-24 Albion Place, Maidstone, ME14 5DZ
    Invicta House, Pudding Lane, Maidstone, ME14 1NX
    Royal Exchange, City of London, Bank, EC3V 3LR

    DD. +44 (0) 1622 621 386
    TEL. +44 (0) 844 247 8884
    MOB. +44 (0) 7971 925 186

    WWW.WATCHFINDER.CO.UK<http://www.watchfinder.co.uk/>

  7. Support Staff 7 Posted by Feodor Fitsner on 29 Jan, 2015 12:50 AM

    Feodor Fitsner's Avatar

    Jonathan,

    We've published an updated Deployment Agent:
    http://www.appveyor.com/docs/deployment/agent#installing

    It supports site_id setting now:
    http://www.appveyor.com/docs/deployment/agent#deploying-website

    Let me know how that worked.

  8. 8 Posted by jonathan on 29 Jan, 2015 07:20 AM

    jonathan's Avatar

    Hi Feodor

    Many many thanks. I will try this out today

    Kindest Regards

    Jonathan Gill
    IT Director
    Watchfinder.co.uk<http://Watchfinder.co.uk>

    Sent from IPhone

  9. 9 Posted by jonathan on 24 Feb, 2015 03:49 PM

    jonathan's Avatar

    Works a charm !!. Many thanks

  10. Support Staff 10 Posted by Feodor Fitsner on 24 Feb, 2015 03:53 PM

    Feodor Fitsner's Avatar

    Great, thanks for the update!

    -Feodor

  11. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 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

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM