Seq is a log server that runs on a central machine. Applications internally write structured events with a framework like Serilog, which sends them across the network to Seq, which displays and makes them searchable.
Questions tagged [getseq]
12 questions
16
votes
2 answers
Serilog is not writing log to Seq until Log.CloseAndFlush() is invoked
Serilog and Seq works fine when I log from WinForm/web application. I am facing problem only when I am using console application. Without writing Log.CloseAndFlush() it is not working. Following is my LoggerConfiguration
Log.Logger = new…

Hasibul
- 569
- 2
- 6
- 21
5
votes
1 answer
How to customize exception output using serilog
I'm using Serilog as my logging framework (with Seq as my log sink). When logging exceptions I'm using something like:
log.Error(ex, "Operation Failed");
My application makes heavy use of async/await methods. When unhandled exceptions occur the…

Joe Camp
- 169
- 3
- 9
4
votes
1 answer
Serilog with Seq - Adding Properties without Placing in Message Text
I have an object with several properties that relate to an event that just occurred on my website.
I want to log this event, and for each of its properties to appear in Seq - as properties. However want to omit most of the properties from the actual…

Darrell
- 1,905
- 23
- 31
3
votes
1 answer
Serilog Seq Output Template
I am new to Serilog and to Seq. Sorry for the beginner question.
I want to have an output template that seems to be available in Serilog for the Console, but I can't seem to configure it in the WriteTo.Seq parameters.
Am I missing something or is…

Bill Noel
- 1,120
- 9
- 21
3
votes
1 answer
Log properties not recording in Serilog
For exmple, I have function doSomething(string a, string b, string c). And I want to log function executing. I want do something like this:
Logger.Debug("Method doSomething executed", a, b, c)
to avoid writing parameters in message beacause strings…

Astemir Almov
- 396
- 2
- 16
2
votes
1 answer
Seq API: Authenticating using Integrated Security?
Without authentication enabled on my Seq instance, I'm perfectly able to work with it from powershell, that is, the following just works:
Invoke-RestMethod "https://myseqinstance/api/dashboards?shared"
However, now that I've enabled Active Directory…

Leon Bouquiet
- 4,159
- 3
- 25
- 36
2
votes
2 answers
Seq API key issues
We are currently adopting Serilog & Seq - amazing products so far, by the way - and the following API key related questions arose (I think they are quite closely related and concise so I'd rather post them together):
Is there any property…

jnovo
- 5,659
- 2
- 38
- 56
2
votes
1 answer
Serilog Seq Sink not always capturing events
I'm running Seq on an Azure instance (Windows Server 2012 R2 Datacenter) and logging with Serilog from a console application running on my local workstation. I have 3 sinks configured - File, Console and Seq. I'm also running on dnxcore50 (just in…

Colin Young
- 3,018
- 1
- 22
- 46
2
votes
2 answers
How to log a message correlation Id with ServiceStack.Logging ILog?
I'm very satisfied with the current logging solution I have in place right now, which is the ServiceStack Interface being implemented by NLOG. The NLOG targets I am using are as follows:…

Stephen Patten
- 6,333
- 10
- 50
- 84
1
vote
1 answer
Serilog event not saved
I'm trying to log to file / seq an event that's an API response from a web service. I know it's not best practice, but under some circumstances, I need to do so.
The JSON saved on disk is around 400Kb.to be honest, I could exclude 2 part of it (that…

advapi
- 3,661
- 4
- 38
- 73
1
vote
1 answer
Logging client log output a NoDB using a WebService
I've a WPF application that runs on an intranet and al communications to the DBs are done via REST webservices. Since for audit purpose I need to store users activities (logs from Information to Fatal logs) to a NoDb instance (Seq or RavenDB). I've…

advapi
- 3,661
- 4
- 38
- 73
1
vote
1 answer
Bubble up exception with custom properties and log with serilog
I came across a situation where I thought it'd be good to rethrow an exception, appending additional information to it (for example in properties in a custom exception) that when caught further up the stack would be logged with the additional info…

Steve
- 1,584
- 2
- 18
- 32