Setting IIS' Site ID as part of the deployment
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
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
Support Staff 1 Posted by Feodor Fitsner on 19 Jan, 2015 05:35 PM
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/httplogging2 Posted by jonathan on 28 Jan, 2015 03:19 PM
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
Support Staff 3 Posted by Feodor Fitsner on 28 Jan, 2015 03:49 PM
Oh, you mean Site ID - the number after
W3SVC/
?4 Posted by jonathan on 28 Jan, 2015 03:53 PM
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/>
Support Staff 5 Posted by Feodor Fitsner on 28 Jan, 2015 04:03 PM
Will take a look if this number could be set through API.
6 Posted by jonathan on 28 Jan, 2015 04:06 PM
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/>
Support Staff 7 Posted by Feodor Fitsner on 29 Jan, 2015 12:50 AM
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 Posted by jonathan on 29 Jan, 2015 07:20 AM
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 Posted by jonathan on 24 Feb, 2015 03:49 PM
Works a charm !!. Many thanks
Support Staff 10 Posted by Feodor Fitsner on 24 Feb, 2015 03:53 PM
Great, thanks for the update!
-Feodor
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:54 AM.