FPCLog
Internet Security and Acceleration Server 2004/2006 SDK
The FPCLog object is used to specify the logging configuration for a specific component. ISA Server generates logs for monitoring and analyzing the status of the following components:
- Web proxy logging.
- Microsoft Firewall service logging.
- Simple Mail Transfer Protocol (SMTP) Message Screener logging (supported only in ISA Server 2004).
In ISA Server Enterprise Edition, this object has additional properties for connecting directly to a SQL Server database using the Microsoft OLE DB provider.
Each FPCLog object is an element of an FPCLogs collection.
Click here to see the ISA Server object hierarchy.
Inheritance
This object inherits from the FPCPersist object, which contains methods and properties related to the persistent storage of an object's data. They include methods for exporting the object's data to and importing it from an XML document.Methods
The FPCLog object does not define any methods.
Properties
The FPCLog object has the following properties.
| Property | Description |
|---|---|
| ComponentType | Gets a value from the FpcLoggingComponents enumerated type that specifies the component to which the logging configuration refers. |
| DeleteOldLogsOnLimitExceeded | Gets or sets a Boolean value that indicates whether old log files will be deleted to maintain the total log size below the maximum allowed value, or to maintain the amount of free disk space above the required minimum. |
| DropConnectionOnLogError | Gets or sets a Boolean value that indicates whether connections are to be dropped when logging errors occur (available only in Enterprise Edition). |
| Enabled | Gets or sets a Boolean value that indicates whether logging is enabled. |
| KeepMinFreeDiskSpace | Gets or sets a Boolean value that indicates whether the lower limit on the free disk space is enforced. |
| LimitTotalLogSize | Gets or sets a Boolean value that indicates whether the upper limit on the total log size is enforced. |
| LogDbDataSource | Gets or sets the name of the Structured Query Language (SQL) data source. |
| LogDbPassword | Sets the password for the SQL table. |
| LogDbTableName | Gets or sets the name of the SQL table. |
| LogDbUserName | Gets or sets the user name of the SQL table. |
| LogFieldSelection | Gets or sets a bitmask in which each bit specifies whether a particular log field is selected for logging. |
| LogFileDirectory | Gets or sets the full path of the directory containing the text log files. |
| LogFileDirectoryType | Gets or sets a value from the FpcLogFileDirectoryType enumerated type that indicates the type of path specified for the log files. |
| LogFileKeepOld | Gets or sets the number of days during which old log files will be retained. |
| LogFilesCompress | Gets or sets a Boolean value that indicates whether text log files will be compressed. |
| LogType | Gets or sets a value from the FpcLogType enumerated type that specifies the type of log. |
| MaxTotalLogSizeGB | Gets or sets the upper limit on the total amount of disk space used to store log files, in gigabytes. |
| MinFreeDiskSpaceMB | Gets or sets the lower limit on the amount of free disk space, in megabytes. |
| SQLAuthType | Gets or sets a value from the FpcSQLAuthType enumerated type that specifies the type of authentication that will be used to connect to a SQL Server database (available only in Enterprise Edition). |
| SQLDatabase | Gets or sets the name of the SQL Server database (available only in Enterprise Edition). |
| SQLForceEncryption | Gets or sets a Boolean value that indicates whether a secure connection is to be used when logging to a SQL Server database (available only in Enterprise Edition). |
| SQLServerName | Gets or sets the name of the SQL Server computer (available only in Enterprise Edition). |
| SQLServerPort | Gets or sets the SQL Server port number (available only in Enterprise Edition). |
Methods Inherited from FPCPersist
| Name | Description |
|---|---|
| CancelWaitForChanges | Cancels the registration established by the WaitForChanges method (for use in C and C++ programming only). |
| CanImport | Returns a Boolean value that indicates whether the object's properties can be imported from the specified XML document. |
| Export | Writes the stored values of all of the object's properties to the specified XML document. |
| ExportToFile | Writes the stored values of all of the object's properties to the specified XML file. |
| GetServiceRestartMask | Retrieves a 32-bit bitmask of the FpcServices enumerated type that specifies which services need to be restarted for currently unsaved changes to take effect. |
| Import | Copies the values of all of the object's properties from the specified XML document to persistent storage. |
| ImportFromFile | Copies the values of all of the object's properties from the specified XML file to persistent storage. |
| LoadDocProperties | Provides the XML document's properties so that you can know what information can be imported from the document. |
| Refresh | Reads the values of all of the object's properties from persistent storage, overwriting any changes that have not been saved. |
| Save | Writes the current values of all of the object's properties to persistent storage. |
| WaitForChanges | Registers to wait for an event indicating that the contents of the object have changed (for use in C and C++ programming only). |
Properties Inherited from FPCPersist
| Name | Description |
|---|---|
| PersistentName | Gets the persistent name of the object. The persistent name of an object is a name that is unique for the object at the respective level of the COM object hierarchy. |
| VendorParametersSets | Gets an FPCVendorParametersSets object that can hold sets of custom data for extending the object. |
Interfaces for C++ Programming
This object implements the IFPCLog interface. In Enterprise Edition, this object also implements the IFPCEELog interface.
Requirements
| Client | Requires Windows XP. |
|---|---|
| Server | Requires Windows Server 2003. Requires Windows Server 2003 or Windows 2000 for ISA Server 2004 Standard Edition. |
| Version | Requires Internet Security and Acceleration (ISA) Server 2006 or ISA Server 2004. |
| IDL | Declared in Msfpccom.idl. |