From 77ea44b03dd7c749ad109719ddcc784140004094 Mon Sep 17 00:00:00 2001 From: Rapturate Date: Thu, 18 Jun 2026 09:45:49 -0400 Subject: [PATCH] Added updates to future changes --- README.md | 6 ++++-- config_reader/config.cpp | 7 +++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e0ee748..db1a07d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -LumberJack TUI takes in an access log file and provides an interactive interface to check your logs. +LumberJack TUI takes in an Apache2 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 :) @@ -15,4 +15,6 @@ NOTES: FUTURE CHANGES: - Ban IP functionality -- Live .log file changing \ No newline at end of file +- Live .log file changing +- Refactor config.cpp to find .log files from a dierectory +- Add a function to unarchive, archived logs. diff --git a/config_reader/config.cpp b/config_reader/config.cpp index a9092c3..87aaed9 100644 --- a/config_reader/config.cpp +++ b/config_reader/config.cpp @@ -44,12 +44,11 @@ void make_config() { } // Write out the clean template configuration block - file << "# ParseLogCLI Global Environment Configuration\n"; - file << "# Generated on 2026-06-09\n\n"; + file << "# LumberJack Global Environment Configuration\n"; file << "# Path to the MaxMind GeoLite2 City Database binary\n"; file << "DB_PATH=./data/GeoLite2-City.mmdb\n\n"; - file << "# Absolute or relative path to the server access logs target file\n"; - file << "LOG_PATH=./access.log.txt\n"; + file << "# Absolute or relative path to the server access logs target directory\n"; + file << "LOG_PATH=./\n"; file.close(); }