writing to the IIS log

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default writing to the IIS log

    Is it possible to write your own lines to the IIS log? Weird question, I
    know. Our reporting group pulls a bunch of data from those logs, and we
    want to provide additional data on certain events. We've tried using
    cookies and query string params, but that approach is lacking. It would be
    great to have an app be able to add a line to the log stream while IIS is
    running.

    ?
    Galen


    Galen Harris Guest

  2. Similar Questions and Discussions

    1. Help with writing to xml
      i have an application where i am trying to write to an xml file. Here is my xml: <?xml version="1.0" ?> <test drawing="1256324" project="52056"...
    2. Writing order for to XML
      Hi, I want to have a cf form that once filled out and submitted is saved to XML on an online folder. Obviously it will need to save with new name...
    3. Writing a DIV tag?
      Starting to mess with writing to the HtmlTextWriter, and have a question about divs. Why is it that HtmlTextWriterTag.Div writes a *table*, when...
    4. Writing to jpg fix?
      I just switched from Quark. Now when I'm placing any kind of graphic (pdf or tiff), when In Design places the graphic, a dialog box comes up that...
    5. Writing from Right-to-Left
      Hello everyone, I'm programing a "user's sign-in form". The problem is that the form is in Hebrew and when I launch the form- when a user types in...
  3. #2

    Default Re: writing to the IIS log

    Look at "HttpResponse.AppendToLog(string param)".
    --
    John Saunders
    Internet Engineer
    [email]john.saunders@surfcontrol.com[/email]

    "Galen Harris" <galen.harrisNOSPAM@ceridianNOSPAM.com> wrote in message
    news:OaqH4ceXDHA.1004@TK2MSFTNGP12.phx.gbl...
    > Is it possible to write your own lines to the IIS log? Weird question, I
    > know. Our reporting group pulls a bunch of data from those logs, and we
    > want to provide additional data on certain events. We've tried using
    > cookies and query string params, but that approach is lacking. It would
    be
    > great to have an app be able to add a line to the log stream while IIS is
    > running.
    >
    > ?
    > Galen
    >
    >

    John Saunders Guest

  4. #3

    Default RE: writing to the IIS log

    Hello Galen,

    We are able to add custom log information to the IIS log file with
    HttpResponse.AppendToLog method, please refer to the MSDN documentation:

    [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/[/url]
    frlrfSystemWebHttpResponseClassAppendToLogTopic.as p

    Hope this helps.

    Regards,

    HuangTM
    Microsoft Online Partner Support
    MCSE/MCSD

    Get Secure! ¨C [url]www.microsoft.com/security[/url]
    This posting is provided ¡°as is¡± with no warranties and confers no rights.


    Tian Min Huang Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139