ravendb / serilog-sinks-ravendb

A Serilog sink that writes events to RavenDB
Apache License 2.0
17 stars 16 forks source link

How do Set Expiration For Document #14

Closed MohMehrnia closed 4 years ago

MohMehrnia commented 4 years ago

How do Set Expiration For Document?

viceroypenguin commented 4 years ago

There are three parameters to the .RavenDB() extension method. They are described as follows:

Automatic Log Record Expiration

If you install the RavenDB expiration bundle on the database where log records are stored, you can configure the sink to automatically delete log records. There are two ways to do this:

MohMehrnia commented 4 years ago

thanks

viceroypenguin commented 4 years ago

Sure thing! Glad you got it squared away!