how to bypass Application Event Viewer when enable SQL login auditing?

Last post 03-28-2007, 7:26 AM by ACALVETT. 1 replies.
Sort Posts: Previous Next
  •  03-23-2007, 3:03 PM Post number 21216

    how to bypass Application Event Viewer when enable SQL login auditing?

    I would like to enable the SQL login auditing but do NOT want the resulting records in the Application Event Viewer Log,  The Event Log on my server is completely filled up with auditing info, makes it very hard -almost impossible- to track any other events. Is there a way to achieve this?

    By default, SQL Server writes all day-to-day operations including startup, shutdown, backups, server-side traces, audit login activity to the Windows Application log. I also see these info written in the SQL Error Logs\SQL Server. Are these two the same?

    Thank you.

  •  03-28-2007, 7:26 AM Post number 21442 in reply to post number 21216

    Re: how to bypass Application Event Viewer when enable SQL login auditing?

    You can use /n to disable all logging to the event viewer. See using startup options.

    However this does disable all logging and is not something i would recommend.

    Another approach to capture your audit information is that you could setup a trace and let it write to a table that just captures login & logout events.

    Cheers


    A
View as RSS news feed in XML