none
sharepint 2010, IIS log file too big (100GB) RRS feed

  • Question

  • Dear All,

    I'm using windows server 2008 enterprise running sharepoint server 2010. Now My IIS log file too large (105GB). the location is in C:\inetpub\logs\LogFiles\W3SVC..........

    i want to move it but my server is in production!

    Can we move it to other drive without impact? and what that log for, i don't understand?  

    BR,

    sochhean

    • Moved by Mike Walsh FIN Wednesday, July 13, 2011 10:04 AM why post a sp 2010 question to a pre-SP 2010 forum ? (From:SharePoint - Setup, Upgrade, Administration and Operation (pre-SharePoint 2010))
    Wednesday, July 13, 2011 8:20 AM

Answers

  • IIS logs can be stored in any location that you want them in.  The default location is: %SystemDrive%\inetpub\logs\LogFiles

    To change this:

    • Open IIS Administration Console
    • Click on the site you want to change logging for
    • Click on the Logging icon
    • Change the location in the "Directory" field

    These files are used to log all activity coming in through the IIS (web server).  You will find information in there about:

    • User names authenticating to the site
    • IP of the user
    • browser of the user
    • Time of connection
    • Date of connection

     

    Jeff DeVerter, MCSE
    Rackspace
    blog:http://www.social-point.com
    twitter: http://www.twitter.com/jdeverter


    Jeff DeVerter
    • Marked as answer by Seven M Friday, July 22, 2011 6:05 AM
    Wednesday, July 13, 2011 10:38 AM
  • If this is a Development/Learning environment, then you are free to move/delete.

    But if this is a Production environment, then check with your Network Admin.  Usually the IIS Logs are sometimes used fo Auditing purpose,  If there is no such audit needs, then you can delete the old logs.  If audit is required at a later stage, then consider moving them or backup to external media.

    And, later if you wish you can even change the Location of Log files.

    Any log files on servers/application, needs Maintenance/House Keeping.  Usually such activities are well planned by the IT team after getting appropriate requirements from Business.

    Hope this helps.


    Thanks & Regards,
    Kamlesh | Blog | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    • Marked as answer by Seven M Friday, July 22, 2011 6:04 AM
    Thursday, July 14, 2011 10:11 AM

All replies

  • Yes you can.

    You just need to modify IIS log settings.

    http://www.iis.net/ConfigReference/system.applicationHost/log


    ndeykin
    Wednesday, July 13, 2011 10:32 AM
  • IIS logs can be stored in any location that you want them in.  The default location is: %SystemDrive%\inetpub\logs\LogFiles

    To change this:

    • Open IIS Administration Console
    • Click on the site you want to change logging for
    • Click on the Logging icon
    • Change the location in the "Directory" field

    These files are used to log all activity coming in through the IIS (web server).  You will find information in there about:

    • User names authenticating to the site
    • IP of the user
    • browser of the user
    • Time of connection
    • Date of connection

     

    Jeff DeVerter, MCSE
    Rackspace
    blog:http://www.social-point.com
    twitter: http://www.twitter.com/jdeverter


    Jeff DeVerter
    • Marked as answer by Seven M Friday, July 22, 2011 6:05 AM
    Wednesday, July 13, 2011 10:38 AM
  • dear sir

     

    if i change it! any problem with my sharepoint server!

    if not Can i delete it and point to new location?

     

    br,

    sochhean

    Thursday, July 14, 2011 9:05 AM
  • Hi,

    You don't have any problems when you move it.

    Regards

    Thursday, July 14, 2011 9:14 AM
  • If this is a Development/Learning environment, then you are free to move/delete.

    But if this is a Production environment, then check with your Network Admin.  Usually the IIS Logs are sometimes used fo Auditing purpose,  If there is no such audit needs, then you can delete the old logs.  If audit is required at a later stage, then consider moving them or backup to external media.

    And, later if you wish you can even change the Location of Log files.

    Any log files on servers/application, needs Maintenance/House Keeping.  Usually such activities are well planned by the IT team after getting appropriate requirements from Business.

    Hope this helps.


    Thanks & Regards,
    Kamlesh | Blog | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    • Marked as answer by Seven M Friday, July 22, 2011 6:04 AM
    Thursday, July 14, 2011 10:11 AM