Checked if my gitea.log file is readable by LumberJack and lo and behold it is so I updated the README.md to include a log line formatting example.

This commit is contained in:
rapturate
2026-06-15 18:44:45 -04:00
parent 16c3a414bb
commit 9d4a7db840
2 changed files with 6 additions and 4 deletions
+5 -3
View File
@@ -1,4 +1,4 @@
LumberJack TUI takes in an Apache2 access log file and provides an interactive interface to check your logs.
LumberJack TUI takes in an access log file and provides an interactive interface to check your logs.
MacOS Users:
- Unfortunately, I don't want to have to setup my pc to build your executable for you. So, the CMakeLists.txt file will autobuild an executable for you :)
@@ -7,9 +7,11 @@ All Other Users:
- I have packaged executables into the released .zip files
NOTES:
- The TUI will ask for the access.log file location and the GeoLite2-City.mmdb file location on startup. It will then create local lumberjack.config file with the locations you provided. If you mess up, just change them in the file for now.
- The TUI will ask for the access.log file location and the GeoLite2-City.mmdb file location on startup. It will then create local lumberjack.config file with the locations you provided. If you mess up, just change them in the lumberjack.config for now.
* I have not tried using the GeoLite2-Country.mmdb file and do not know if it will crash the application...
- Log line format example:
172.71.245.109 - - [23/Jan/2016:09:49:24 +0100] "GET /favicon.ico HTTP/1.1" 301 642 "-" "Mozilla/5.0 (Linux; Android 10; arm64) AppleWebKit/537.36 (KHTML, like Gecko) Safari/15.0.0.0 Safari/537.36"
* This is the only format I have setup for the regex so far. It works on both my Apache2 and Gitea access logs but I do not know a whole lot about access log formats.
FUTURE CHANGES:
- Ban IP functionality
+1 -1
View File
@@ -5,4 +5,4 @@
DB_PATH=./data/GeoLite2-City.mmdb
# Absolute or relative path to the server access logs target file
LOG_PATH=./test_logs/access.log
LOG_PATH=./test_logs/gitea.log