yarseyah / sentinel Goto Github PK
View Code? Open in Web Editor NEWSentinel is a log-viewer with configurable filtering and highlighting (foreground/background colours)
License: Microsoft Public License
Sentinel is a log-viewer with configurable filtering and highlighting (foreground/background colours)
License: Microsoft Public License
Hi. When I run latest version, it's crushes with this exception (Win7 x64):
Application: Sentinel.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at MS.Internal.FontCache.FontFaceLayoutInfo+IntMap.TryGetValue(Int32, UInt16 ByRef)
at System.Windows.Media.GlyphTypeface.Initialize(System.Uri, System.Windows.Media.StyleSimulations)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializationGuard(System.Xaml.XamlType, System.Object, Boolean)
at System.Xaml.XamlObjectWriter.Logic_EndInit(MS.Internal.Xaml.Context.ObjectWriterContext)
at System.Xaml.XamlObjectWriter.WriteEndObject()
at System.Windows.Markup.WpfXamlLoader.TransformNodes(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter, Boolean, Boolean, Boolean, System.Xaml.IXamlLineInfo, System.Xaml.IXamlLineInfoConsumer, MS.Internal.Xaml.Context.XamlContextStack`1<System.Windows.Markup.WpfXamlFrame>, System.Windows.Markup.IStyleConnector)
at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
at Sentinel.Controls.MainWindow..ctor()Exception Info: System.Reflection.TargetInvocationException
at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
at System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
at System.Activator.CreateInstance(System.Type, Boolean)
at System.RuntimeType.CreateInstanceImpl(System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[], System.Threading.StackCrawlMark ByRef)
at System.Activator.CreateInstance(System.Type, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo, System.Object[])
at System.Activator.CreateInstance(System.Type, System.Object[])
at System.Xaml.Schema.SafeReflectionInvoker.CreateInstanceCritical(System.Type, System.Object[])
at System.Xaml.Schema.XamlTypeInvoker.CreateInstance(System.Object[])
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance(System.Xaml.XamlType, System.Object[])
at System.Xaml.XamlObjectWriter.Logic_CreateAndAssignToParentStart(MS.Internal.Xaml.Context.ObjectWriterContext)
at System.Xaml.XamlObjectWriter.WriteStartMember(System.Xaml.XamlMember)
at System.Windows.Markup.WpfXamlLoader.TransformNodes(System.Xaml.XamlReader, System.Xaml.XamlObjectWriter, Boolean, Boolean, Boolean, System.Xaml.IXamlLineInfo, System.Xaml.IXamlLineInfoConsumer, MS.Internal.Xaml.Context.XamlContextStack`1<System.Windows.Markup.WpfXamlFrame>, System.Windows.Markup.IStyleConnector)
at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)
at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)
at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)
at System.Windows.Application.DoStartup()
at System.Windows.Application.<.ctor>b__1_0(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at Sentinel.MainApplication.Main()
Hello Ray, Is there any planning to support serilog logging provider ? Thanks in advance.
Hello,
could you have sentinel in a docker container?
best regards, Víctor
Using the latest release, a big red banner at the top: "Squirrel upgrader has the following errrors
Updater.exe is not found, not a Squirrel-installed app?"
I'm using NLog provider from a WinForms desktop app, .net framework
Hello,
i create a new logger and select a file. I only want to view an existing file.
Provider is the "File Monitoring Provider".
Then I select the file and check the box "Load existing content from file".
Decoder Format "nLog default...:".
Then the application starts, but there are no entries from file.
Everything is empty.
What am I doing wrong?
Best Regards, Alex
Any chance you could add support for json logs
Example:
{ "time": "2018-04-05 14:41:24.4791", "level": "INFO", "thread": "15 ", "message": "Request received (\"DB\", \"Save\")", "module": "DB", "method": "Save" }
{ "time": "2018-04-05 14:41:24.4986", "level": "INFO", "thread": "4 ", "message": "Request received (\"DB\", \"GetAll\")", "module": "DB", "method": "GetAll" }
{ "time": "2018-04-05 14:41:24.4986", "level": "INFO", "thread": "13 ", "message": "it took 12,2139 ms to write to disk", "elapsedMilliseconds": 12.2139 }
(Generated by NLog structured logging)
Are there any downloadable builds of sentinel?
Test applications, e.g. the v2 and v3 of the nLogTester were all upgraded to v4 of nlog, these need reverting.
Additionally, v1 uses a third-party reference directly to a binary, it should use nuget.
When implementing #15, functionality for persisting state between sessions was not implemented.
I have an nlog generated log file that I would like to view in Sentinel. When I load sentinel and go through the wizard, the provider works as expected. However, when I save the sntl file and reload sentinel with it, the information is blank and doesn't update with new entries.
I think it would be handy to implement feature to limit the log entries, displayed in the GUI, by a configurable maximum count and/or log age.
This way it is safe to just let sentinel run without memory consumption only ever increasing.
Currently I am having an issue where the log window is not really (at all) responsive any more and Sentinel is eating 6 GB of memory due to the shear amount of shown logs.
Is it possible to view logs from a remote machine by IP?
Are there any plans on a portable version of sentinel which does not require an installation?
Hi,
we are developing a WPF program which is sending NLOG messages all few milliseconds.
Usually we had no problems with Sentinel but version 0.14.1.0 is freezing quite often (independent from Windows version), especially by using Clear and Pause functions.
Force close via Task Manager required.
After restart of Sentinel it will not take long to freeze again.
Do you have any suggestions or can I provide more information?
Best regards,
Patrick
We've used Sentinel internally for years, but I'm considering pulling some of the code out of the project and adding it in a separate tab inside of our applications for debug purposes. I'll comply with the license (of course) and keep my stripped down version in a fork on GitHub.
Ideally, this could be wrapped up into a NuGet package for distribution and maybe pulled back into the master, though I'm not sure I'll get that far.
I just didn't want to do the work without letting the author and others know.
In NLog an exception with message is not shown as exception.
Amazing app, been struggling with others and found sentinel! Pleased isn't in it!
Question: I would like to clear the log viewer main window by sending a magic string eg nlogr.Trace("clear the sentinel screen please")
Or do you have any other way of accomplishing this lazy mans functionality??
Cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.