Comments (4)
What about full message template, f.e.:
[{Timestamp:yyyy-MM-dd HH:mm:ss.fff} {Level:u3}] {Message:lj} {Properties} {NewLine}{Exception}
(from the same Wiki above)?
from tailviewer.
Same issues here. Serilog shows under the Custom log formats area so it was supported at some point. I've tried using the custom formats, but no luck either.
from tailviewer.
@raelb, @jrod567 Sorry for the late reply, I've been on an extended hiatus as far as my development projects were concerned.
The latest Tailviewer version (which is not yet released, but good enough to be used - I use it in my daily business) is capable of parsing serilog files, given that one configures the precise format string with tailviewer first:
- Download and install the latest Tailviewer version: https://ci.appveyor.com/project/Kittyfisto/sharptail/build/artifacts
- Start Tailviewer, click File and then Settings
- Click the "Plus" Icon next to Serilog in the list of custom file formats (yes, the UI is horrible)
- Enter
{Timestamp:yyyy-MM-dd HH:mm:ss.fff K} [{Level:u3}] {Message}
in the right-most input field:
- Restart Tailviewer
Given that the formatting string is correct, you should see that Tailviewer has detected the log levels correctly and colorized the log entries accordingly:
The format string should be the same one that you use to configure serilog (See https://github.com/serilog/serilog/wiki/Formatting-Output), but if you find discrepancies, please let me know - you'll be the first ones to try this out besides myself. Plus the UI is really unhelpful and doesn't provide any useful feedback when inputing these format strings.
from tailviewer.
Kittyfisto - Thanks so much for the response - this is working great for me now!
I ended up using the following Serilog format: {Timestamp:yyyy-MM-dd HH:mm:ss.fff} [{Level:u3}] {Message}
from tailviewer.
Related Issues (20)
- UI Cleanup
- Labels for files in datasource HOT 1
- Identify columns and levels HOT 3
- Category matching should be case insensitive HOT 1
- Feature Request: Clear the Log HOT 1
- Feature Request: Log filter based on tree view of all logger names
- Portable Version? HOT 3
- Tailviewer should apply better heuristics to guestimate the log level of a log entry
- Tailviewer refuses to load plugin dependencies from plugin archives
- NoSuchColumnException after update from 0.9.6 to 1.0.0-rc1 HOT 2
- Exception on Startup
- Dark Theme requested
- Not showing any data HOT 4
- Add ability to plugins to colorize keywords and/or patterns
- Feature Request: support logical operators for filtering
- Option to wrap long lines
- Inverse filters not working when another filter is active
- Great Tool! Is the tool actively developed/maintained?
- MIT License which allows commercial use and Xceed License which does not allow commercial use
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tailviewer.