You are an enterprise application developer. You are designing an event logging mechanism for a Web-based application. The application uses Windows authentication. The application retrieves data from a Microsoft SQL Server database. The event logging mechanism must meet the following requirements: All logon and logoff events are logged.All exceptions are logged.All access to the database is logged. All application start and end events are logged. You need to ensure that all the requirements are met by using the minimum amount of coding effort. What should you do?
A.
Store the log data in text files.
B.
Store the log data in Event Log files.
C.
Store the log data in the Trace.axd file.
D.
Store the log data in a SQL Server database.