Категория: Windows: другое
Log Viewer is a reliable application which displays a log of any kind in the real-time, without a need to re-open the file in a text editor again and again.
Displays more log files in the same viewer at a time.
Enables to define three groups of log lines, filter them and display in different colors.
Opens and closes log files automatically in dependency on their file date/time stamp or the file name.
Supports widely command line options.
Enables to invert order of lines (last entries at the top of list).
BrineSoft Log Viewer - let it open the log files automatically for you.
Most applications create one log per day. Instead of opening a different file each day again and again tell Log Viewer to open the today's logs automatically for you.
Define in what you are interesting in the log and split it into three user groups. Display these three groups in different colors, or filter them.
If you build an automation system make use of huge number of command lines options and switches of Log Viewer.
LogViewer 1.1 - это Lister-плагин (wlx) к Total Commander для просмотра текстовых лог файлов (журналов) с автообновлением (как в Far`е).
- Возможность просмотра очень больших файлов (5Гб и более)
- Быстрый, не загружает процессор и память
- Возможность установки подсветки строк в зависимости от содержимого строки (до трех цветов)
- Поиск и фильтрация текста
Для установки достаточно зайти внутрь архива Total Commander`ом и положительно ответить на запрос на установку или распаковать архив в какой-либо каталог и добавить плагин logViewer.wlx в настройках Total Commander (Настройка/Плагины/Плагины просмотра .WLX).
Расширение просматриваемых файлов по-умолчанию [.log], по желанию настраиваются другие расширения для просмотра.
Ctrl+F - поиск
F3 - найти далее
Ctrl+F3 - искать в обратном направлении
Бесплатен для физ. лиц, для остальных категорий (организаций, юр. лиц, ИП) необходима лицензия на использование.
Стоимость лицензии на 1 ПК - 10 евро.
My new favorite log viewer is glogg. It makes finding stuff in noisy log files very easy. It could use a few more features but does 95% of everything I need it to do, it is open source, written in C++ using Qt and runs on Linux/Windows/Mac. Give it a try.
From the glogg description page:
glogg enables you to use regular expressions to search for interesting events in your log files. It presents a results window which, together with complex regular expressions allows easy isolation of the meaningful lines amongst the noise.
glogg has been primarily developed to help spot and understand problems in huge logs generated by embedded systems. It can be equally useful to a sysadmin digging through logs from databases or web servers.
The main design goals for glogg are:
If you think it does not do that, it is a bug and it should be fixed!
Released 4 years ago. Last update 4 years ago
Shows file contents in a web browser and updates it in real-time without fetching the entire contents each time. Very useful for watching live logs or building chat engines from flat files.
Log viewer is a jQuery plugin that shows file contents in a web browser. File contents are fetched from the last changed position, so it can be used to stream large amount of changes without having to fetch large amounts of data each time.
Log viewer needs a real web server to operate. It uses AJAX to get updated file contents with a positioned HEAD request that gets the file size and fetches only the bytes added since the last change to the file.
LogViewer comes with an instruction page - index.html.
To run logViewer you need to include jQuery library first, then the logViewer plugin in <script> tags.
Log viewer options: - logUrl - web location of desired log file - refreshtimeout - refresh interval in ms - readBytes - initional amount of bytes to fetch - callback - user function to call to modify new content if necessary before it is appended to log window. The callback receives new content as a single argument and must return it.
As of right now (2013-11-29), fresh Laravel 4.1 applications log things differently than they used to. While this doesn't technically break LogViewer, LogViewer also doesn't know how to handle these changes. Here's a quick fix:
In your app/start/global.php. line 34 change:Installation
(Optional) You can configure your composer.json to do this after each $ composer update :
(Optional) Publish package config:
Please note: if you have made changes in your app/config/packages/kmd/logviewer/config.php. DO NOT publish the package config again. It will overwrite yours without any warning.Usage and Configuration
By default, LogViewer will register itself a couple of routes:
LogViewer also registers a couple filters:
Don't like the way LogViewer looks? Need to integrate it better with your application's theme? You can do so by creating your own view and changing the configuration option. Here are the variables that are sent to the view:
Log4Net logging utility is very useful for logging exceptions and also logging debug statements. However, there is a need for a good viewer application to view the logs. The project here is an application that allows a user to open and view log4net XML formatted output with color coded backgrounds. The application is written entirely in C# with Windows Presentation Foundation (WPF). So far, there isn't any C# version out there to view Log4Net output log files, so this is a cool utility to have when viewing Log4Net log files looking for bugs and traces. The reason WPF was chosen for this application is because first, WPF is new, second, to demonstrate how easy it is to write a WPF application, and third, to test how many dependencies a WPF application has compared to WinForm applications.Background
This application was inspired by the Java version Log4Net viewer Chainsaw. For some of us who don't have Java runtime installed on our PC, I thought it would be nice to have a C# version of the viewer.Requirement
The log4net viewer application reads and parses XML output generated by Log4Net logging utility. The output format must conform to the log4j schema. To generate log4j XML format out, set the application configuration of your app to use the XML layout schema. This configuration setting is in the “app.config ” or “web.config ” file.
First, create a configSections and then a log4net section. The following example uses a rolling file appender and log4j schema layout to set the XML log format.
The layout tag log4net.layout.XmlLayout.SchemaLog4j tells log4net.dll to log in XML format. The XML format ensures that the viewer application can read the output content. The output content is parsed and loaded into a List View or Grid View control complete with sorting and background color codes for each log type. There is also a file drag and drop feature using the Grid View control.Using the Application
You can drag and drop your log file into the viewing area, in this case the ListView control. You may also use the menu file open or if you already opened a file previously, then use the most recent viewed menu item. Menu Item refresh will reload the current loaded log file. When a file is loaded, the application parses the XML in the log file.
Parsing the XML is very simple by using .NET XML text reader. XML text reader reads each event logged in the XML file with a structure like the following:
All elements in the XML are parsed and stored in a class object called LogEntry. Each log event creates a LogEntry object and is added to the collection List<LogEntry> entries. The list collection is used as data bind for the List View control.Log4net Wrapper Class
Included in this source zipped is the log4net helper wrapper class log.cs file. The log4net wrapper class provides a few static methods to simplified logging exceptions. The wrapper static method ensures that the log4net configuration is setup correctly.
Following is an example on how to use the wrapper class:Conclusion
Simplified application exception logging is a good thing, however it is better when you have a log viewer.
This will open a @window listing all your .log files in a side list box. By double clicking the one you will then see what is in it in the main part of the @window. Also by chosing "Stats" in the @window menu it will tell you how many .log files you have. The title of the @window changes to let you know which one you are viewing and for which network.
Original idea and basis from http://www.hawkee.com/snippet/8441/ I edited it a bit and made some modifications and felt I would share it.
Update: Added search feature for Display area and List area. Added a reset feature for Display area and List area.
Update 23May2011: Added ability to delete log files ( send to Recycle Bin ). fixed a bug and cleaned a bit of the code.
Update 14Jul11: Fixed issue if a person PMing you has a nick of 1 letter/number/symbol.
Update 13Feb12: Fixed issue if channel has "." in the title.
Update 9Sep14: Added ability to sort side list by default. channels only, Query/PM only or @Windows only. The reset feature allows you to reset to any of the mention options.
**Note: This was written on version 6.35
***Note: This was last updated on version 7.32
This software can be used to view dynamically updated log files
Dynamic Log Viewer is a lightweight and portable application that you can use to view the content of LOG files. It can be seamlessly handled, even by users with little or no experience in such apps.
Since installation is not a prerequisite, you can just save the app to any location on the hard drive, in order to run it on any computer with minimum effort.
There's also the alternative of storing Dynamic Log Viewer on a USB flash drive or similar storage unit, in order to run it on any computer with minimum effort.
An important aspect with portable tools is that the Windows Registry does not get entry updates, and files do not remain on the hard drive after program removal.
The interface of the application is represented by a standard window with a plain layout, where you can import LOG items using either the file browser or drag-and-drop function.
Aside from viewing content, you can print the document and copy one or more selected lines to the Clipboard, open recently accessed files, disable automatic scrolling to new rows, as well as increase or decrease the font size.
Other options of Dynamic Log Viewer let you use a search function when dealing with large amounts of data, jump to a specific line after viewing details in the status bar, switch to full screen mode, change the character set, and erase all content from the current document.
Dynamic Log Viewer offers multilingual support and has a good response time. We have noticed a minimal CPU and system memory consumption during the tool's runtime, thus it is light on the system resources, without hogging your computer. No error dialogs have been shown in our tests and the program did not hang or crash. Thanks to its intuitive layout and settings, Dynamic Log Viewer should please the entire audience.
CURRENT VERSION: 1.7.1 FILE SIZE: 83 KB DEVELOPER: Jan Ringos RUNS ON: Windows 2K / XP / Vista / 7 / 8 / 2003 / 2008 / Server 2012 / 10 / NT CATEGORY: C: \ Office tools \ Text editors