Stop tracking .env configuration.
This commit is contained in:
8
.env
8
.env
@@ -1,8 +0,0 @@
|
||||
# ParseLogCLI Global Environment Configuration
|
||||
# Generated on 2026-06-09
|
||||
|
||||
# Path to the MaxMind GeoLite2 City Database binary
|
||||
DB_PATH=data/GeoLite2-City.mmdb
|
||||
|
||||
# Absolute or relative path to the server access logs target file
|
||||
LOG_PATH=test_logs/access.log.txt
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -18,8 +18,6 @@ generated/
|
||||
*.so
|
||||
*.dylib
|
||||
*.dll
|
||||
*.exe
|
||||
LumberJack
|
||||
|
||||
# ==========================================
|
||||
# Language Server & IDE Support (Arch Linux / Dev Tools)
|
||||
@@ -46,5 +44,5 @@ compile_commands.json
|
||||
# ==========================================
|
||||
# Sensitive Files
|
||||
# ==========================================
|
||||
*.env
|
||||
.env
|
||||
.env
|
||||
|
||||
BIN
LumberJack
Executable file
BIN
LumberJack
Executable file
Binary file not shown.
@@ -1,12 +1,7 @@
|
||||
LumberJack TUI takes in an Apache2 access log file and provides an interactive interface to check your logs.
|
||||
|
||||
REQUIREMENTS:
|
||||
- Access to a GeoLite2-City.mmdb database file.
|
||||
* The signup page is provided here:
|
||||
https://dev.maxmind.com/geoip/geolite2-free-geolocation-data/
|
||||
|
||||
NOTES:
|
||||
- The TUI will ask for the access.log file location and the GeoLite2-City.mmdb file location on startup. It will then create a local .env 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 .env file with the locations you provided. If you mess up, just change them in the file for now.
|
||||
* I have not tried using the GeoLite2-Country.mmdb file and do not know if it will crash the application...
|
||||
|
||||
|
||||
|
||||
2
main.cpp
2
main.cpp
@@ -27,7 +27,7 @@ int main() {
|
||||
// ── 1. App State ─────────────────────────────────────────────────────────
|
||||
bool setup_complete = false;
|
||||
std::string log_file_path = "";
|
||||
std::string mmdb_path = "";
|
||||
std::string mmdb_path = "ip_data/GeoLite2-City.mmdb";
|
||||
std::string search_query = "";
|
||||
|
||||
if (check_for_env()) {
|
||||
|
||||
Reference in New Issue
Block a user