nickbnf / glogg Goto Github PK
View Code? Open in Web Editor NEWA fast, advanced log explorer.
Home Page: http://glogg.bonnefon.org/
License: GNU General Public License v3.0
A fast, advanced log explorer.
Home Page: http://glogg.bonnefon.org/
License: GNU General Public License v3.0
Creates a vertical bar on the right (optional) giving an overview of where the matches are in the file.
At the moment, when passed a file name (e.g. double-clicking on an associated file), a brand new instance of glogg is started, the session is reloaded and the new file is added as a new tab. The problem is there might already be an instance open with the same files saved in the session.
We need a way to signal via a command line argument we want to open the file in an existing instance if possible. This will require inter-process communication (DBus on Linux, somebody can suggest something on Windows?)
Hi,
Add automatic follow on filter list when auto-refresh checkbox is checked
How about supporting compressed files?
Would it be possible to create an index for a zipped/gzipped file so that glogg can decompress the whole thing just once per search and then lazily decompress just the stuff visible in the upper view?
Add an icon indicating "follow" mode is active, maybe a little down arrow a la BareTail.
Step to reproduce:
It would be nice to have a way to clear the main log window so while tailing a file only the new entries are displayed.
This is something I really miss from OSX Console and I think It would be a great addition to this already awesome tool.
See the following link as reference:
http://upload.wikimedia.org/wikipedia/en/3/37/Console_Mac_OS_X.png
Hello,
When I open some files, the file seems to be blank.
There is only 3 caracters at the beginning ( ÿþ0 or ÿþ= ) and after only blank lines.
I don't know if you have this one but, "C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen_service.log" is one of this files.
System : Windows 7 32bits (French)
glogg : v0.8.3 (try with and without admin right)
It will be good to have a new option into the quick find part to enable/disable the "Ignore case".
Or it can be sticked to the "Ignore case" option for the main matches.
And restore the file as it was on load. Maybe also saving/restoring the marks.
Add the line number the match has been found in the filtered view.
I'm on Debian wheezy and I copied some /var/log files to my home subdirectory, named '.oldlog'.
Well, when I tried to access this with glogg the dot directory is not visible and thus not selectable.
Although you can always rename the directory but on a *nix machine these directories are common
and should be possible to browse in glogg.
Nice to have, next to refresh icon 'follow tail' icon
Make glogg a tabbed interface with several files open at once.
At the moment, it always happens, it should be configurable really.
Probably in a colour different than QuickFind's yellow.
Alternative form of search window: offers a bunch of buttons to enable/disable search items.
There is no .tarball-version file in the official 0.9.2 tarball which results in the following messages:
g++ -c -pipe -g -Wextra -DGLOGG_DATE="date +"%F"
"
-DGLOGG_VERSION="git describe
" -DGLOGG_COMMIT="git rev-parse --short HEAD
" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I.moc/release-shared -I. -o .obj/release-shared/main.o main.cpp
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
As a result there is no correct version available in the Help->About menu.
Hi. I'm trying to use glogg to highlight lines in text trace files however the wildcard doesn't appear to match correcty when used multiple times in a fliter pattern.
Below are 3 sample lines in my log file.
I'm trying to highlight line2 as one colour and line3 as another.
The constant is "Port:0" and presence (or absence) of "SUT" in a fixed position.
12:45:02:171 VP: Port:Virt-Subs Cr:B009B Cid:06084 Bcs:155 MT: Setup SUT:001|067|005
12:45:05:065 VP: Port:0.5.11 Cr:B009C Bcs:156 MT: Setup SUT:016|010|000
12:45:06:336 VP: Port:0.3.1 Cr:Z005E Cid:06086 Bcs:157 MT: Setup
Example 1: "VP: Port:0.?"
RESULT: Highlights line2 and line3 (correct).
Example 2: "VP: Port:0.??"
RESULT: Highlights nothing (faulty - should highlight line2 and line3).
Example 3: "VP: Port:0?"
RESULT: Highlights all lines (faulty - should not highlight line 1).
Would be nice to have the ability to have an exclude option in the filter, this would create more powerful filters. Given that's not currently possible then I'm trying to create long filters like "VP: Port:0?????????????????????????????????????????????????????SUT" which should highlight line 2 only.
Thanks, Elton.
Shorten the length of the "arrow down" search history, and add a special history dialogue box giving access to a full, searchable, timestamped history.
When glogg opens a file that is totally replaced by the app that generates it then the search auto-refresh did not start.
The workaround is to manually click the search button to start the auto-refresh again.
This does not apply when a new content is appended to an existing file this applies when the file is removed and then created again.
For example when some apps reach their log file limit they usually compress it and creates a new one with the same name and continue to log.
This is valid for version 0.9.0-1+b1
If glogg.ini is present in the same path as the EXE - then it would be nice for glogg to use this for a "Portable Mode".
If glogg.ini is not present in the application folder - then it can continue to use the INI from %APPDATA% as current.
I'd like multiple selection so that I can copy a chunk of test in another editor.
Hello ,
I am using glogg 0.9.0 on Window 7
I sometimes lose my configured filters and search history.
Where are these configured ?
I looked in
It seems there are a few thing glogg only does through keyboard shortcut (like go to line).
Would be very nice if all options could be accessible via GUI (so that they're easy to find without digging up the online docs).
A minimal starting point could be a simple help dialog showing all keyboard shortcuts, so that at least the shortcuts are covered in-program.
thanks.
Allow the user to mark certain lines, it will mark then with a blue arrow instead of the circle on the left. Marks appears in the filtered view (optionally),
Hi,
The log file don't refresh automatically on Windows (2008 RC2) but it work on Linux.
To refresh log file, I have to click on refresh...
Thanks for your great application !
Was trying to search through a log file where some lines are excessively long. Even just trying to scroll through the search results window causes hangs, not sure if this happens in the main text view. In some cases glogg will simply crash with an error box during the search.
Example log:
https://dl.dropboxusercontent.com/u/455759/2014_02_06-20_48_21-8.7z
Searching for 'SoftwareRelationships' should do it.
When the last line has no LF at the end, it is not displayed!
Or some kind of in-app documentation for keyboard shortcuts/obscure features.
Not sure where to store the ini file, in the app directory? elsewhere?
Also highlight the location on the matches overview.
Offering "copy", "mark" and "include in search".
The 10 first history searches should be immediately accessible, the rest should move to a dialogue box.
The file in question (267MB compressed) is here:
http://storage.googleapis.com/books/ngrams/books/googlebooks-eng-all-1gram-20120701-m.gz
Windows 8, 32-bit, fresh glogg 0.9.1 install
Indexing lines... (93 %)
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Program Files\glogg\glogg.exe
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
Please consider adding multiple tabs for tailing multiple files (example: like BareTail)
Thanks
Z
Just noticed this while compiling the 1.0.0 version from the official tarball:
WARNING: /home/dw/projects/fedpkg/glogg/master/glogg-1.0.0/glogg.pro:167: Unescaped backslashes are deprecated.
Please consider to apply the following patch:
--- glogg.pro.orig 2014-02-13 23:30:01.318911090 +0100
+++ glogg.pro 2014-02-13 23:30:06.982985581 +0100
@@ -164,7 +164,7 @@
QMAKE_CXXFLAGS = -g
-system( $${QMAKE_CXX} --version | grep -e " 4.[7-9]" ) {
+system( $${QMAKE_CXX} --version | grep -e " 4\.[7-9]" ) {
message ( "g++ version 4.7 or newer, supports C++11" )
CONFIG += C++11
}
BTW: There is one absolutely minor warning during compilation process:
src/sessioninfo.cpp:68:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0; i < openFiles_.size(); ++i ) {
P.S.: Is the 1.0.0 version official? I didn't notice any information on the official web page, just got a notification from upstream monitoring[1]
Nice to have a link to page in About form to check for new release or wiki
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.