Hi, I have a console application that uses serilog and I am trying to configure it, so that I can see log-messages in Analogy.exe in realtime. It seems that I have to use the nuget Analogy.LogViewer.Serilog.Sinks which doesn't support .netFX (e.g. 4.7.2) so I moved to a .netCore test-project (seems to be supported only for '-windows') and added this code:
using var log = new LoggerConfiguration() .WriteTo.AnalogyLogServerSink() .WriteTo.Console() .CreateLogger();
When I start Analogy.exe and click 'Connect to gRPC Log Server' a log-window opens, but no messages or log-entries appear.
When I first start Analogy.LogServer.exe and then start Analogy.exe and click 'Connect to gRPC Log Server' a log-window opens and a message appears:
Error Opening log. Please make sure you are running as Administrator. Error:Requested registry access is not allowed.
Even when I start Analogy.exe as admin - I have also tried to change the port for the server and the viewer to 56000 - that made no difference.
Am I doing something wrong?
Hi, I have a console application that uses serilog and I am trying to configure it, so that I can see log-messages in Analogy.exe in realtime. It seems that I have to use the nuget Analogy.LogViewer.Serilog.Sinks which doesn't support .netFX (e.g. 4.7.2) so I moved to a .netCore test-project (seems to be supported only for '-windows') and added this code:
using var log = new LoggerConfiguration() .WriteTo.AnalogyLogServerSink() .WriteTo.Console() .CreateLogger();
When I start Analogy.exe and click 'Connect to gRPC Log Server' a log-window opens, but no messages or log-entries appear. When I first start Analogy.LogServer.exe and then start Analogy.exe and click 'Connect to gRPC Log Server' a log-window opens and a message appears:Error Opening log. Please make sure you are running as Administrator. Error:Requested registry access is not allowed.
Even when I start Analogy.exe as admin - I have also tried to change the port for the server and the viewer to 56000 - that made no difference. Am I doing something wrong?