Skip to content

this is the exact same module i use when i catch preds and skids so i remeber the info and write it at the same time its happening so i dont forget

Notifications You must be signed in to change notification settings

brainrot02back/loggingpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“˜ log generator

🧩 Overview

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.


βš™οΈ Requirements

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.


🧰 Features

βœ… 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.


How to Use

1. Run the Program

Save the Python script (e.g., log_generator.py) and run it with:

python logging.py

2. Enter Information

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.

3. Generate Log

Click the "Generate Log" button.

The program will:

  • Create a folder with the operation name.

  • Inside it, make two subfolders:

    • logs/ β†’ Contains a log.txt file.
    • photos/ β†’ For storing photo evidence.

A success message will confirm creation with the file path.


πŸ“‚ Example Output

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.

Notes for Use

  • Always verify the data before saving logs.
  • Keep sensitive information encrypted or stored securely.
  • Use responsibly β€” for legitimate reporting or documentation purposes only.

Tips

  • 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.

Future Additions

  • Cloud sync for logs.
  • Encrypted note storage.
  • Built-in evidence uploader.

Author

me brainrot02

About

this is the exact same module i use when i catch preds and skids so i remeber the info and write it at the same time its happening so i dont forget

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages