36 questions
1
vote
0
answers
655
views
In NLog fluent logging, how can I force a log property to be rendered as JSON?
I'm using NLog to create semantic logs in a Seq server. I want to log an object that has a ToString() method that produces a short human readable summary of the data content. So I want to render the ...
2
votes
1
answer
4k
views
.Net Core 1.1 not serializing object while logging
I have ASP.NET Core 1.1 application and i am using Serilog for logging. I want to log DTO object by preserving its structure.
So If i directly use Serilog.Log to log the DTO, like below
Serilog.Log....
1
vote
1
answer
842
views
SemanticLogging throws Exception in Command Processing for EventSource
On some machines (probably only on Windows 7 and 2008 R2 but not on Windows 10) I have problem using SemanticLogging. When I run it I'm receiving fallowing output:
Event Trace Session prefix: ...
0
votes
0
answers
353
views
How to create reusable a semantic logging library?
I am currently in the process of designing a .net logging library that could potentially be used across different solutions in our organisation as a nuget package. However, I also want to make sure ...
1
vote
1
answer
76
views
OpCode is being attached to event name in out-of-process Semantic logging (SALB) c#
I am doing an out-of-process semantic logging with elastic search. When i browsed the events using kibana, i could see the events are coming. But the event name showing as "Event name + OpCode". That ...
0
votes
1
answer
56
views
adding column to the traces table - Enterprise logging database
I'm using the Enterprise semantic logging on sql server database
I need to add one or more specif columns in the Traces table instead of adding value in Payload column
Maye the only way is to create ...
1
vote
1
answer
90
views
SLAB stops receiving events from Windows Service
I have a Windows Service (myService) writing ETW events. When I start the service I'm able to see the logs written to file when SLAB Service (slabService) listens to the events.
After a few days ...
1
vote
2
answers
436
views
How can I track the source of exception on trying to set Azure sink for a listener
I'm trying to use Semantic Logging Application Block to store logs into Azure Table Storage. Setup:
ObservableEventListener listener1 = new ObservableEventListener();
var conString =
$"...
1
vote
1
answer
362
views
How to update EventSource schema
During the development of my custom EventSource I need to change the count and types of an event's parameters. Since I've used this EventSource for a while, it had already registered its events ...
0
votes
1
answer
389
views
No events registered with SemanticLogging service on single server
I'm trying to get SemanticLogging-svc.exe from the Enterprise Library Semantic Logging Application Block to listen to events for my custom event source and dump them to console.
This works fine for ...
0
votes
1
answer
302
views
Semantic Logging permissions error
I am trying to configure semantic logging on my Windows 8.1 Enterprise environment.
Although I have followed the steps specified by Microsoft here I get the following error when Semantic Logging ...
0
votes
1
answer
370
views
How can I get the trace category from TraceListener?
So I subclassed TraceListener in order to pipe output to EntLib6 SLAB without the need for injecting a customer logger implementation. The problem that I'm running into now is that I need to see that ...
3
votes
1
answer
364
views
Semantic Logging Analyzer exception number of WriteEvent arguments and event parameters are different
This fragment makes the Semantic Log Analyzer throw "The number of WriteEvent arguments and event parameters are different in event name 'HandlingCommand'."
[NonEvent]
public void HandlingCommand(...
0
votes
1
answer
75
views
semantic logging - Azure sink query
I am using semantic logging application block and using in proc to log entries into azure table storage(SLABLogsTable). But is there a way to query the SLABLogsTable using StorageClient?
1
vote
0
answers
81
views
Semantic Logging Exception: Keywords values larger than 0x0000100000000000 are reserved for system use
I am using the Semantic Logging for my ASP.NET MVC app. https://github.com/mspnp/semantic-logging (SQL database) installed via nuget
Install-Package EnterpriseLibrary.SemanticLogging.Database
Here ...
0
votes
1
answer
175
views
Semantic Logging to multiple files
I need to log my web application errors to three different files
For Ex:-
Dashboard --> DashboardLog.Log
Login Information --> LoginLog.Log
AAA Section --> AAALog.Log
I ...
0
votes
1
answer
649
views
Deleting older azure table storage log entries created by semantic logging
I have implemented semantic logging to log entries into the azure table storage. Now I want to remove old log entries(say older than 30 days) from the azure table. The problem is that the ...
2
votes
1
answer
692
views
"EventSourceException" with no details on every log, but the log itself still comes through
So I'm using SLAB and I have a Database listener logging out to a database. I'm testing with a single method on the event source. The issue that I'm having is that the log is being inserted into the ...
0
votes
0
answers
756
views
Semantic Logging with Enterprise Library 6 out-of-process
I've migrated to Enterprise Library 6 with semantic logging. It works fine with in process logging, but I could not get out-of-process logging working. SemanticLogging SVC is started as Windows ...
0
votes
2
answers
304
views
The schema of EventEntry was not updated using out-of-process semantic logging
I write a custom EventSource class and add a method for log as below:
[EventSource(Name = "MyCompany")]
public class MyCompanyEventSource : EventSource
{
[Event(6, Message = "test.", Keywords = ...
7
votes
2
answers
933
views
EventSource/Enterprise Library Logging caches deleted methods, (possibly in a instrumentationManifest!)
Short version
If I change this ...
EventSource(Name="BasicLogger")
public class BasicLogger : EventSource { ... }
to this ...
EventSource(Name="HardymanDatabaseLog")
public class BasicLogger : ...
0
votes
1
answer
101
views
What Tools are best suited for viewing Semantic Logs with Azure Table Sink?
I've setup my application to use Semantic Logging and Azure sink. What I see in the tables looks great and I'm pretty happy with what I'm seeing.
My issue is that I'd really like to filter and search ...
0
votes
2
answers
426
views
Runtime configuration of EventSource guid
We have a scenario whereby multiple pre-release versions of an application run in the same environment. The problem we're seeing is that, because our EventSource has the same name/guid, we cannot ...
3
votes
1
answer
614
views
Semantic Logging using ETW with Custom Keywords not logging
I am trying to use .Net 4.5, Semantic Logging (SLAB) EventSource, to create events with custom keywords. I would like to use Out-of-Process, and use the keywords to steer events to logfiles or SQL. ...
1
vote
2
answers
1k
views
How to change the log level in semantic logging at run time?
How can I change the log level at run time, using semantic logging?
In my Global.asax Application_Startup I have the following code:
var listener = new ObservableEventListener();
...
1
vote
1
answer
126
views
Semantic logging In-Proc and Out-Proc
I'm using Semantic logging with Windows Azure Websites,
I wonder Using Semantic logging using Azure website and store log in Azure Table storage and Azure SQL db is Inproc or out Proc ?
Can anyone ...
1
vote
1
answer
297
views
How do I store my Log into Azure table storage I used Semantic Logging
For application logging I have used Semantic Logging but I want to save logging into Azure table storage, now I just displayed it on Console.
static void Main(string[] args)
{
//...
1
vote
1
answer
184
views
How does one change a message for an event in Semantic Logging Application Block
I've created an EventSource in my application, which is using SLAB. It's working fine, for the most part. I had an initial message, but I decided to change the message. Whenever the out-of-process ...
2
votes
2
answers
624
views
How to store the payload in separate columns using the Semantic Logging Application Block's SqlDatabaseSink
How can the SqlDatabaseSink store the payload in separate columns? It's mentioned in the documentation, but I haven't seen it done anywhere. When I've tried, the payload is always stored as a JSON ...
2
votes
2
answers
1k
views
How to create database for a Semantic Logging Application Block with SqlDatabaseSink
How to set up the SQL Server database for Semantic logging.
Does the table for logging information needs to be created earlier?
If yes, what is the schema to be used.
I have the following code :
var ...
4
votes
1
answer
648
views
Semantic Logging Application Block with Log4Net?
Is there a way to redirect events logged using the Semantic Logging Application Block to a Log4Net listener?
What I want to do is fully instrument my libraries for SLAB, but in a way that doesn't ...
1
vote
0
answers
450
views
Warning C4538 when using System::Diagnostics::Tracing::EventSource on c++
I'm trying to create an event source class for SLAB using C++. I've already tried creating one using C# so I'm really clueless on the following issue.
So basically I'm using the System::Diagnostic::...
0
votes
2
answers
830
views
How does an out-of-process semantic logging service receive events?
The reason I'm asking is I would like to use the out-of-proc mode, but I cannot install a service on each user's workstation, only on a central server. Is the communication between event source and ...
0
votes
1
answer
286
views
Semantic logging vs wad logs table
I want to decide between semantic logging for azure vs traditional logging where all logs use to go to wadlogs table. Is there any specific reason we should go for one or other? what is the difference ...
4
votes
1
answer
3k
views
EventSource is not logging
I am using the Semantic Logging Application Block, and I have the following two EventSource based classes (inner constant classes omitted for brevity:
[EventSource(Name = EventSourceNames.Prism)]
...
9
votes
4
answers
3k
views
How can I organize EventSources for the Semantic Logging Application Block?
The Semantic Logging Application Block (SLAB) is very appealing to me, and I wish to use it in a large, composite application I am writing. To use it, one writes a class derived from 'EventSource', ...