Home  Administration > Monitor Administration > SiteScope Data Collector Configuration > Managing SiteScope > SiteScope Preferences > Logging Preferences > Setting SiteScope Log Preferences



Setting SiteScope Log Preferences

Use the Logging Preferences properties to limit how much log information SiteScope saves to the local file system. The amount of data can be limited to the number of days to maintain log files or to a maximum data log file size.

Note: In order to create SiteScope Management Reports the monitoring log information for the desired time period of the report must be available on the SiteScope server file system.

Enter the log preference options as indicated below and then click the Save Changes button located at the bottom of the form.

Main Settings

You use the Main Settings section of the Logging Preferences Properties page to enable monitoring, options, and features controlled by the Logging Preferences settings. Complete the items for the Logging Preferences Properties as described below.

Daily Logs To Keep

Enter the number of days of monitoring data to keep. Once a day, SiteScope deletes any logs older than the specified number of days. By default this is set to 40 days, which saves enough data to create monthly reports.

Note: Keeping monitor data logs for long periods can cause a data storage problem for the SiteScope server depending on the total number of monitors configured and how often the monitors run per day. You should monitor the size of the log files in the SiteScope\logs directory to estimate the data accumulation rate and adjust the Daily Logs To Keep setting or server resources as necessary.

Maximum Size of Logs

Enter the maximum size allowed for all monitoring logs. Once a day, SiteScope checks the total size of all monitoring logs and removes any old logs that are over the maximum size.

Note: By default, this setting is blank and not used as it can result in the loss of monitor report data.

Database Connection URL

To enable Database logging, enter a URL to a Database Connection. The easiest way to create a database connection is to use ODBC to create a named connection to a database. For example, first use the ODBC control panel to create a connection called SiteScopeLog. Then, enter jdbc:odbc:SiteScopeLog in this box as the connection URL.

Database Driver

Specify the database driver SiteSCope should use to connect to the database. The driver should be a JDBC driver. The default database driver is sun.jdbc.odbc.JdbcOdbcDriver. To have SiteScope use another driver the driver must also be installed in the <SiteScope install path>/SiteScope/java directory and the path and filename must be entered in this text box.

Database Username

Enter the username used to login to the database. If you are using Microsoft SQL server, you can leave this blank and choose NT Authentication when you setup the ODBC connection. With NT Authentication, SiteScope connects using the login account of the SiteScope service.

Database Password

Enter a password used to login to the database. If you are using Microsoft SQL server, you can leave this blank and choose NT Authentication when you create the ODBC connection. With NT Authentication, SiteScope connects using the login account of the SiteScope service.

Backup Database Connection URL

Optionally, you may enter a URL to a backup database. Use this option to provide failover of SiteScope database logging in the case that the primary database become unavailable.

Note: The same database table definition, database driver, user name and password are applied to both database connections.

After you save changes to the Database preferences, you need to stop and restart the SiteScope service to have the changes take effect.




Copyright 2006 Mercury Interactive Corporation