Interface ConfigFile.IDiagnosticsConfiguration
Configuration of diagnostic tools Created in Process scope
Namespace: SuperOffice.Configuration
Assembly: SoCore.dll
Syntax
public interface ConfigFile.IDiagnosticsConfiguration
Properties
AppInsightInstrumentationKey
Identifier of resource that you want to associate your telemetry data with
Declaration
string AppInsightInstrumentationKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CheckBrowserVersion
Should browser version information be sent back to SuperOffice for compatibility verification?
Declaration
bool CheckBrowserVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
EnableQAAttributes
If true, the SCIL components renders additional attributes to help with automated UI tests
Declaration
bool EnableQAAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
EnableResourceTracer
Enable tracing of resource usage pr. opartation to trace.
Declaration
bool EnableResourceTracer { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
EnableScaffolding
When this option is enabled, extra logging is performed. It is strongly recommended to have this option disabled in production. Df
Declaration
bool EnableScaffolding { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Huge log files are generated when this option is enabled!
EnableStackTracing
Should stack traces be collected by various events
Declaration
bool EnableStackTracing { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LogFailureAudit
Log failed authentications (default 'True')
Declaration
bool LogFailureAudit { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Information in this category will not be logged to SuperOffice Research and Product Development
LogFolder
Folder (e.g. UNC path) where the logfile is to reside. Note that the owner of the process needs to have access to manipulate files in this folder. The Documents/Impersonation settings apply!
Declaration
string LogFolder { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LogLongQueries
Should long-running queries be logged in textual form to a special file? default false
Declaration
bool LogLongQueries { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LogLongQueriesAsXML
Should long-running queries be logged to a special file (Query_year.month.day.log) in XML serialized format, for later analysis and reruns using the QueryWorkbench tool
Declaration
bool LogLongQueriesAsXML { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LogLongQueriesToPlugins
Should long-running queries be logged to SoLoggerPlugins? default false
Declaration
bool LogLongQueriesToPlugins { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LogMail
Log mail server communication
Declaration
bool LogMail { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LogMailFolder
Folder to use for mail logging
Declaration
string LogMailFolder { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LogServiceCalls
Should calls to the service layer be logged
Declaration
bool LogServiceCalls { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LogSuccessAudit
Log successful authentications (default 'False')
Declaration
bool LogSuccessAudit { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Information in this category will not be logged to SuperOffice Research and Product Development
LogTimes
Log times to file.
Declaration
bool LogTimes { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LogToEventLog
Log to the OS event log (default 'True')
Declaration
bool LogToEventLog { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Requires that the app has write permissions to system event log.
LogToFile
Log to a LogFile located in the LogFolder(default 'False')
Declaration
bool LogToFile { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Writes a log file names '2020-12-24.log' in the LogFolder.
LogToTrace
Log to a TraceSource named 'SuperOffice' that can be listened to by TraceListener. (default 'False')
Declaration
bool LogToTrace { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
LoggedServices
List of services to be logged; default blank means all, otherwise comma-separated list of service names (without the Agent suffix, for instance: BLOB, Appointment)
Declaration
string LoggedServices { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LongNonQueryThreshold
Threshold for logging a long-running query, in milliseconds. Queries that execute in less than this time are not logged as long-running. The time is from the moment the SQL text is sent to the database, until the first row (for a select) or the 'nn rows affected' return value is received.
Declaration
int LongNonQueryThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
LongQueryRows
Threshold for logging a long-running query, in rows. Queries that affects more than this number of rows are logged as long-running.
Declaration
int LongQueryRows { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
LongQueryThreshold
Threshold for logging a long-running query, in milliseconds. Queries that execute in less than this time are not logged as long-running. The time is from the moment the SQL text is sent to the database, until the first row (for a select) or the 'nn rows affected' return value is received.
Declaration
int LongQueryThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ShowExceptionsFromBackend
If true, then the innermost exception message from the backend will be shown in the GUI, dreictly when the error happens
Declaration
bool ShowExceptionsFromBackend { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
UsageStatUrl
Collection url for reporting Usage Statistics
Declaration
string UsageStatUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserSyncUrl
Collection url for sync'ing user information
Declaration
string UserSyncUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |