Capturing Unhandled exceptions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin S Gallagher

    #1

    Capturing Unhandled exceptions

    Just read a posting on "Unhandled Exceptions in services" and wanted to ask;

    If you are logging exceptions of this nature do you log to text, XML or
    database?
    Also if you don't mind saying why you selected it.

    Thanks!!!


  • Lit

    #2
    Re: Capturing Unhandled exceptions

    Kevin,

    I log to: Event Log , XML File and Database. unlikely for all to fails all
    at once.

    Lit

    "Kevin S Gallagher" <kevin.s.gallag her@state.or.us wrote in message
    news:%23udejKPu HHA.3588@TK2MSF TNGP06.phx.gbl. ..
    Just read a posting on "Unhandled Exceptions in services" and wanted to
    ask;
    >
    If you are logging exceptions of this nature do you log to text, XML or
    database?
    Also if you don't mind saying why you selected it.
    >
    Thanks!!!
    >

    Comment

    • Kevin S Gallagher

      #3
      Re: Capturing Unhandled exceptions

      Thanks for your thoughts.

      "Lit" <sql_agentman@h otmail.comwrote in message
      news:e4ZM4cPuHH A.536@TK2MSFTNG P06.phx.gbl...
      Kevin,
      >
      I log to: Event Log , XML File and Database. unlikely for all to fails
      all at once.
      >
      Lit
      >
      "Kevin S Gallagher" <kevin.s.gallag her@state.or.us wrote in message
      news:%23udejKPu HHA.3588@TK2MSF TNGP06.phx.gbl. ..
      >Just read a posting on "Unhandled Exceptions in services" and wanted to
      >ask;
      >>
      >If you are logging exceptions of this nature do you log to text, XML or
      >database?
      >Also if you don't mind saying why you selected it.
      >>
      >Thanks!!!
      >>
      >
      >

      Comment

      • sloan

        #4
        Re: Capturing Unhandled exceptions




        I do the same.

        the local file is last.

        if the eventlog fails, or the db call fails, i log the original error in the
        xml file AND the logging exception.

        but the db is never/seldom down.






        "Lit" <sql_agentman@h otmail.comwrote in message
        news:e4ZM4cPuHH A.536@TK2MSFTNG P06.phx.gbl...
        Kevin,
        >
        I log to: Event Log , XML File and Database. unlikely for all to fails
        all
        at once.
        >
        Lit
        >
        "Kevin S Gallagher" <kevin.s.gallag her@state.or.us wrote in message
        news:%23udejKPu HHA.3588@TK2MSF TNGP06.phx.gbl. ..
        Just read a posting on "Unhandled Exceptions in services" and wanted to
        ask;

        If you are logging exceptions of this nature do you log to text, XML or
        database?
        Also if you don't mind saying why you selected it.

        Thanks!!!
        >
        >

        Comment

        Working...