AbleCommerce and rapidly growing IIS log files

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

AbleCommerce and rapidly growing IIS log files

Post by WylieE » Mon Feb 20, 2012 6:33 pm

Our hosting company has brought an issue with AC to our attention. It seems our IIS logs are growing by close to 1GB a day and are growing massively large. We have roughly 11k unique visitors a day to our site. (And they tend to stick around on the site for quite a while.)

Is this a common issue with AC and are other sites experiencing the same level of log growth? Are there any settings we need to look at to better manage IIS log file size?
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: AbleCommerce and rapidly growing IIS log files

Post by david-ebt » Mon Feb 20, 2012 6:56 pm

In our experience, the IIS logs generated for an AC site are fairly typical in size. We have an AC site that gets around 2K visitors a day and generates log files around 15MB. There is an option in IIS to turn on extended logging. It will expand the set of fields that are stored with the log files. The default fields for the log files are:

date, time, s-ip, cs-method, cs-uri-stem, cs-uri-query, s-port, cs-username, c-ip, cs(User-Agent), cs(Referer), sc-status, sc-substatus, sc-win32-status, time-taken

Do you have access to the log files? Are they storing more than these fields?
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: AbleCommerce and rapidly growing IIS log files

Post by WylieE » Mon Feb 20, 2012 7:24 pm

Thanks for the prompt response. I see one additional field in the logs; sc-bytes. Once we account for traffic differences of 2k vs 11k, it sounds like ours are still running a bit larger comparatively.

I am wondering if longer than average rows in the log file would account for the size difference? Example row:
2012-01-01 13:55:32 192.168.92.110 GET /Gallery/GalleryEntry.aspx id=903 80 - 65.5.176.199 Mozilla/5.0+(Windows;+U;+Windows+NT+6.1;+en-US;+rv:1.9.2.25)+Gecko/20111212+Firefox/3.6.25 http://www.google.com/url?sa=t&rct=j&q= ... Z7Vfh9W6Lg 200 0 0 85535 6193
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: AbleCommerce and rapidly growing IIS log files

Post by david-ebt » Mon Feb 20, 2012 9:17 pm

Your entries don't look unusually long. Here's an example from our logs:

2011-12-09 18:21:39 172.20.175.200 GET /ProductStore.aspx ProductId=19308 80 - 66.87.100.29 Mozilla/5.0+(Linux;+U;+Android+2.3.4;+en-us;+Sprint+APX515CKT+Build/GRJ22)+AppleWebKit/533.1+(KHTML,+like+Gecko)+Version/4.0+Mobile+Safari/533.1 http://www.mysiteurl.com/AdvancedSearch.aspx 200 0 0 5174
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: AbleCommerce and rapidly growing IIS log files

Post by WylieE » Tue Feb 21, 2012 5:47 pm

Interesting. Thanks. By any chance do you compress your log files? If so, what application are you using?
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: AbleCommerce and rapidly growing IIS log files

Post by david-ebt » Tue Feb 21, 2012 11:06 pm

We usually just make the log directory a Windows compressed folder. Then once a month or so we archive the old log files.
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

Post Reply