File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
test/SeqCli.EndToEnd/Ingest Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -68,15 +68,6 @@ public static LogEvent ReadFromJObject(JObject jObject)
6868 if ( ! jObject . TryGetValue ( "@t" , out _ ) )
6969 jObject . Add ( "@t" , new JValue ( DateTime . UtcNow . ToString ( "O" ) ) ) ;
7070
71- if ( jObject . TryGetValue ( "@l" , out var levelToken ) )
72- {
73- jObject . Remove ( "@l" ) ;
74-
75- var serilogLevel = LevelMapping . ToSerilogLevel ( levelToken . Value < string > ( ) ! ) ;
76- if ( serilogLevel != LogEventLevel . Information )
77- jObject . Add ( "@l" , new JValue ( serilogLevel . ToString ( ) ) ) ;
78- }
79-
8071 return LogEventReader . ReadFromJObject ( jObject ) ;
8172 }
8273}
Original file line number Diff line number Diff line change 88
99namespace SeqCli . EndToEnd . Ingest ;
1010
11- public class StrictClefIngestionTestCase : ICliTestCase
11+ public class StrictClefIngestionTestCase : ICliTestCase
1212{
1313 public async Task ExecuteAsync (
1414 SeqConnection connection ,
You can’t perform that action at this time.
0 commit comments