« Previous Next »

Thread: Double logging. Possible?

Last post 11-21-2008 3:56 AM by qbernard. 7 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (8 items)

Sort Posts:

  • 11-17-2008, 3:28 AM

    • EvertM
    • Not Ranked
    • Joined on 11-12-2008, 10:05 AM
    • Posts 9

    Double logging. Possible?

    Hi all! I was wondering whether it is possible for an IIS server to maintain both a server-wide log and per-site logs? I know that logging every hit twice will make some serious impact on the performance, but I would like to know whether it is possible nonetheless... ;-)
    Greetings,
    Evert
  • 11-17-2008, 6:33 AM In reply to

    Re: Double logging. Possible?

    Not that I know of, it is only one active log mode at anytime, you might need to write custom filter to double log it.

    May I know the purpose of such requirement? maybe you can combine per-site log via log analyzer and get what you want.

    Cheers,
    Bernard Cheah
  • 11-17-2008, 7:29 AM In reply to

    • EvertM
    • Not Ranked
    • Joined on 11-12-2008, 10:05 AM
    • Posts 9

    Re: Double logging. Possible?

    We're considering switching our logging system. Currently we're logging per server, but pushing the same log 300x through awstats is putting its toll on the server... Switching over to per-site logging should make things better, but I'd like to have per-server logs as well during the switch/test process...
    Greetings,
    Evert
  • 11-17-2008, 7:36 AM In reply to

    Re: Double logging. Possible?

    Awstats running on the same server as well? log analyzers are pretty much cpu intensive, in my previous farm, we run deepmetrix which then access each NLB node and sort of combine the overall log files for the website.

    For you case, doubt you can find a time where 300sites are not active, and during cut off logs will be in both locations. yet anyhow you will need to find a 'good' time to switch it.

    I'm curious though, per server and per site logging will have different impacts? the load will be the same to the server, it just that you now can have better control on when to run the analyzer and to which website it should query, right?

    Cheers,
    Bernard Cheah
  • 11-18-2008, 7:23 AM In reply to

    • EvertM
    • Not Ranked
    • Joined on 11-12-2008, 10:05 AM
    • Posts 9

    Re: Double logging. Possible?

    qbernard:

    Awstats running on the same server as well? log analyzers are pretty much cpu intensive, in my previous farm, we run deepmetrix which then access each NLB node and sort of combine the overall log files for the website.

    Luckily I got the chance to use a Linux box for awstats. This box grabs the current logs from the farm and consolidates them to 1 log file, which is stored on a ram disk and processed. This is done a couple of times a day, and by the end of the day the consolidated log file is about 1GB.
    qbernard:

    I'm curious though, per server and per site logging will have different impacts? the load will be the same to the server, it just that you now can have better control on when to run the analyzer and to which website it should query, right?

    We have many sites with little traffic, and a few with a lot of traffic. Currently awstats has to plough through that 1GB log file also for the little sites. It would be more efficient when each awstats-instance gets its own site-logfile: small for small sites, and big for the few big sites...
    Greetings,
    Evert
  • 11-20-2008, 2:04 AM In reply to

    Re: Double logging. Possible?

    K. thanks for the update.

    So have you try to switch yet :)

    Cheers,
    Bernard Cheah
  • 11-20-2008, 5:05 AM In reply to

    • EvertM
    • Not Ranked
    • Joined on 11-12-2008, 10:05 AM
    • Posts 9

    Re: Double logging. Possible?

    No... We're putting it on hold for the moment, since the current solution seems to do the job. However, I do keep it in mind, since I don't want to suddenly switch because it's the only solution... Perhaps when I have a quiet weekend I'll just switch over anyway... ;-)
    Greetings,
    Evert
  • 11-21-2008, 3:56 AM In reply to

    Re: Double logging. Possible?

    Ya. must be during non peak time.

    Cheers,
    Bernard Cheah
Page 1 of 1 (8 items)
Microsoft Communities