Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Multiple log files, all in one directory - How do I find the log file I'm looking for?

$
0
0

My web farm hosts several web sites, with multiple applications in their own application pools (30+ app pools).  At the server level I have Advanced Logging configured to log to 'D:\Inetpub\logs\AdvancedLogs' with daily logging.  If it helps, the log definition is listed below:

 <logDefinition rollLogFileOnConfigChanges="false" writeLogDataToDisk="true" baseFileName="%COMPUTERNAME%-Server" logRaiseTraceEvents="false" enabled="true" logRollOption="Schedule" maxDurationSeconds="86400" maxFileSizeKB="1024" schedule="Daily" publishLogEvent="false">

The issue I have is currently I have 49 log files created each day, all in the 'D:\Inetpub\logs\AdvancedLogs' directory.  The files are labeled like this:

SERVERNAME-Server_D20110809-172829949.log
SERVERNAME-Server_D20110809-174020516.log
SERVERNAME-Server_D20110809-174022454.log
SERVERNAME-Server_D20110809-174116204.log
SERVERNAME-Server_D20110809-174116798.log
SERVERNAME-Server_D20110809-174209079.log
SERVERNAME-Server_D20110809-174227861.log
SERVERNAME-Server_D20110809-175015551.log
SERVERNAME-Server_D20110809-175016270.log
....

 When I need to troubleshoot an issue on one of these servers how can I determine which log file is for the web application I'm trying to look at the logs for?  Is it possible to simply have one log for each site?  I tried specifying a different logging directory for one of the sites but it had no effect.

I like the Advanced Logging module, it lets me filter out the heartbeat requests from our load balancer but it's such a mess trying to get the data from it I'm at a cross roads where I may have stop using it and re-enable the default logging method if I can't simply the file management.


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>