Skip to content

Commit

Permalink
Merge pull request #4 from VytenisJ/3-incorrect-example
Browse files Browse the repository at this point in the history
Updated example documentation to correct filename format
  • Loading branch information
VytenisJ authored Apr 26, 2024
2 parents a99a4b7 + 2a9b6a5 commit 1fe3b3e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Currently available logging destination is **Blob Storage** as an **AppendBlob**

### Config example

```
```xml
<appender name="GeneralFileAppender" type="log4net.Azure.Storage.AzureBlobAppender, log4net.Azure.Storage">
<BufferSize value="0" />
<ContainerName value="logs"/>
<DirectoryName value="rsl-fws"/>
<FileName type="log4net.Util.PatternString" value="log_{yyyyMMdd}.log" />
<DirectoryName value="test-app"/>
<FileName type="log4net.Util.PatternString" value="log_%date{yyyyMMdd}.log" />

<!-- You can either specify a connection string or use the ConnectionStringName property instead -->

Expand All @@ -29,4 +29,3 @@ Currently available logging destination is **Blob Storage** as an **AppendBlob**
</layout>
</appender>
```

0 comments on commit 1fe3b3e

Please sign in to comment.