This tool is a Python-based log generator designed to help you quickly record and organize information about operations β for instance, when gathering evidence or documenting incidents. It creates a structured folder for each operation, containing a log file and a photo storage directory.
Before using this tool, ensure you have the following installed:
- Python 3.8+ (Recommended)
- The Tkinter library (usually included with Python)
If Tkinter is not installed, you can install it using:
sudo apt-get install python3-tk # for Linux
For Windows, Tkinter is included by default in standard Python distributions.
β Create organized folders for each operation. β Automatically generate a timestamped log file. β Include essential details like names, phone numbers, locations, and notes. β Auto-create separate folders for photos and logs.
Save the Python script (e.g., log_generator.py
) and run it with:
python logging.py
When the window opens, fill in the following fields:
- Operation Name β The main folder name (e.g.,
Operation_Safeguard
). - Name β The name of the person involved.
- Phone Number β Contact number for reference.
- Address β Location details.
- Location β Where the incident took place.
- Additional Notes β Any relevant information or context.
- Other Logs β Links, notes, or references to other reports.
Click the "Generate Log" button.
The program will:
-
Create a folder with the operation name.
-
Inside it, make two subfolders:
logs/
β Contains alog.txt
file.photos/
β For storing photo evidence.
A success message will confirm creation with the file path.
Folder Structure:
Operation_Safeguard/
β
βββ logs/
β βββ log.txt
β
βββ photos/
Sample log.txt
Content:
folder name: Operation_Safeguard
Date and Time: 2025-10-16 21:10:00
Name: John Doe
Phone Number: 555-1234
Address: 123 Maple Street
Location: Downtown Cafe
Additional Notes: Suspect was using fake identity.
Other Logs: Linked to previous report #32.
- Always verify the data before saving logs.
- Keep sensitive information encrypted or stored securely.
- Use responsibly β for legitimate reporting or documentation purposes only.
- You can customize the folders or add automatic image-saving scripts later.
- To export logs into a ZIP archive, use Pythonβs built-in
shutil.make_archive()
. - Consider using
datetime
naming for separate operation runs.
- Cloud sync for logs.
- Encrypted note storage.
- Built-in evidence uploader.
me brainrot02