Skip to main content

Forensic logging setup for python projects

Project description

The tool has been developed for the purpose of facilitating the forensic aspects of logging configurations.
It enables users to customize their logging environment by specifying parameters such as file names and directory structures.

To use logging-forensic install the modul via pip

install logging-forensic via pip

pip install git+https://github.com/fackelm2/logging-forensic.git

update logging-forensic via pip

pip install --upgrade --force-reinstall git+https://github.com/fackelm2/logging-forensic.git

example usage of logger-forensic in your python script:

from logging-forensic import forensic_logger

timestring = time.strftime("%Y%m%d-%H%M%S")
logfile_path = Path(__file__).resolve().parent.parent / "log" / f"{timestring}_<case>.log"
logger = forensic_logger('<scriptname>', logfile_path, 'INFO', False)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logging_forensic-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

logging_forensic-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file logging_forensic-0.1.0.tar.gz.

File metadata

  • Download URL: logging_forensic-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for logging_forensic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 deff8b85312ef9fa100bb8065d830d01deedab099ab54a30c59bd32dcdb951f6
MD5 a9b81b1fd8ecb986c5ad1e26d15bd2f2
BLAKE2b-256 ad0ac7423df27996ab0f7cab67456c4bb708e7f639a504144fd9428707fd9ca1

See more details on using hashes here.

File details

Details for the file logging_forensic-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for logging_forensic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6593380bbeb046829b0d55ed4093b9d679b5a1077c7855913ca704643a18dca5
MD5 60206b92a992f7388be45507e69ec81e
BLAKE2b-256 fa27f7d227e493f0c7ea4ddc81d6c286a96a34028e59449588132b2d2d52ef62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page