File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ var log = new LoggerConfiguration()
126
126
columnOptions : opts ,
127
127
appConfiguration : appSettings
128
128
).CreateLogger ();
129
- .CreateLogger ();
130
129
```
131
130
132
131
### Code + _ System.Configuration_
@@ -215,7 +214,7 @@ Ideally the `SerilogWriter` role would be restricted to the log table only, and
215
214
216
215
```
217
216
GRANT SELECT ON [dbo].[SecuredLog] TO [SerilogWriter];
218
- GRANT SELECT ON [dbo].[SecuredLog] TO [SerilogWriter];
217
+ GRANT INSERT ON [dbo].[SecuredLog] TO [SerilogWriter];
219
218
```
220
219
221
220
There are many possible variations. For example, you could also create a logging-specific schema and restrict access that way.
@@ -546,12 +545,12 @@ Keys and values are case-sensitive. Case must match **_exactly_** as shown below
546
545
<remove Name =" Properties" />
547
546
</RemoveStandardColumns >
548
547
<Columns >
549
- <add ColumnName =" EventType" DataType =" int" />
550
- <add ColumnName =" Release"
551
- DataType =" varchar"
552
- DataLength =" 64"
553
- AllowNull =" true"
554
- NonClusteredIndex =" false" />
548
+ <add columnName =" EventType" DataType =" int" />
549
+ <add columnName =" Release"
550
+ dataType =" varchar"
551
+ dataLength =" 64"
552
+ allowNull =" true"
553
+ nonClusteredIndex =" false" />
555
554
</Columns >
556
555
<Exception ColumnName =" Ex" DataLength =" 512" />
557
556
<Id NonClusteredIndex =" true" />
You can’t perform that action at this time.
0 commit comments