DynamoDBTraceListener configurations.

C# |
public class Configs

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | DynamoDBTraceListener..::..Configs()()()() |
Constructs a default Configs instance.
|
![]() | AWSAccessKey |
Access key to use.
Config key: AWSAccessKey
|
![]() | AWSCredentials |
Credentials to use.
This property can only be set programmatically.
|
![]() | AWSSecretKey |
Secret key to use.
Config key: AWSSecretKey
|
![]() | CreateTableIfNotExist |
Controls whether the table will be auto created if it doesn't exist. The default is true.
Config key: CreateIfNotExist
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ExcludeAttributes |
Array of attributes to exclude from the logged item. Default is null.
Config key: ExcludeAttributes (comma-separated list of attribute names)
|
![]() | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType()()()() | Gets the type of the current instance. (Inherited from Object.) |
![]() | HashKey |
The hash-key name if the table is created. The default is "Origin".
Config key: HashKey
|
![]() | HashKeyFormat |
Format of the hash key. The default is "{Host}".
The format can include environment variables, attributes from the logged message, or can
be a constant value.
Environment variables are specified like so: %ComputerName%
Attributes are specified like so: {Host}
For example: {Host}-{EventType}-{ProcessId} or %ComputerName%-{EventType}-{ProcessId}
Config key: HashKeyFormat
|
![]() | LogFilesDirectory |
The directory that temporary log files should be written to.
If the value is not specified, listener attempts to use the application's current
directory, then the Windows temporary directory. If none of these are accessible,
the listener will be disabled and an error message will be written to the error log.
Default value is null.
Config key: LogFilesDir
|
![]() | MaxLength |
The maximum length of any one attribute. The default is 10,000 characters.
Config key: MaxLength
|
![]() | RangeKey |
The range-key name if the table is created. The default is "Timestamp".
Config key: RangeKey
|
![]() | RangeKeyFormat |
Format of the range key. The default is "{Time}".
The format can include environment variables, attributes from the logged message, or can
be a constant value.
Environment variables are specified like so: %Time%
Attributes are specified like so: {Time}
Config key: RangeKeyFormat
|
![]() | ReadUnits |
The read capacity units if the table is created. The default is 1.
Config key: ReadCapacityUnits
|
![]() | Region |
Region for the table. Default is US West 2 (Oregon).
Config key: Region
|
![]() | TableName |
Table used to store logs. Default is "Logs".
Config key: Table
|
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WritePeriod |
Largest time between writes to DynamoDB.
If this period has passed since the last log write, all accumulated messages
are written to DynamoDB immediately.
The listener only pushes messages to DynamoDB when the target table is active
AND one of the following happens:
1. The time equal to WritePeriod since last write has elapsed
2. Flush is called
3. Close is called
Default value is 1 minute. Smallest allowed value is 0 seconds.
Config key: WritePeriodMs (number of milliseconds)
|
![]() | WriteUnits |
The write capacity units if the table is created. The default is 10.
Config key: WriteCapacityUnits
|

Object | |
![]() | DynamoDBTraceListener..::..Configs |