<% Response.Expires = 0 %> <% REM LOCALIZATION L_PAGETITLE_TEXT = "Microsoft Internet Service Manager" REM END LOCALIZATION %> <% REM Logging Page %> <% REM Get variables %> <% REM svr = Server name %> <% REM lgt = Logging type passed from menu frame (0 -- disabled, 1 -- file, 2-- database) %> <% svr = Request("svr") %> <% lgt = Request("lgt") %> <% = L_PAGETITLE_TEXT %> <% REM Generic Javascript functions isNum and isFull %>

 Logging Properties for  <% = svr %>

<% REM If logging is enabled, display Enable logging checkbox as checked %> <% if (lgt <> "0") then %>

 Enable logging <% REM If logging to file, display file fields %> <% if (lgt = "1") then %>

Log To

 File  SQL/ODBC database

Log File Properties

 Automatically open new log

 Daily

 Weekly

 Monthly

 When file size reaches    MB

Log file directory:  

<% REM If logging to database, display database fields %> <% elseif (lgt = "2") then %>

Log To

 File  SQL/ODBC database

SQL/ODBC Database Properties

ODBC datasource name (DSN):  
Table:
Username:
Password:

<% end if %> <% REM If logging is disabled, display checkbox as unchecked and show explanatory message %> <% else %>

 Enable logging
 
 

Check Enable Logging to start or stop logging. Logging provides valuable information about how the Microsoft Internet News Server is used. Send log data to files or to a SQL/ODBC (Open Data Base Connectivity) supported database. <% end if %>