Skip to main content

Downland and search chat logs from

Project description

Build Status

logtf_analyser is a cli app to download and query logs from

Currently, this is limited to chat logs but there are plans to add full log support.

SQLite is required


pip install logtf_analyser


Download the last 12 logs of a player

This will download and load all selected chat logs into a sql lite db. This will ignore any pre-existing logs.

$ logtf download -l 12 76561197960287930

Get number of ‘gg’s

$ logtf chat --count-only --steam-id 76561197960287930 --search-str "gg"


usage: logtf [-h] [-v | -q] [--loglvl {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
             [--logfile LOGFILE] [--logfmt LOGFMT] [--dbname DBNAME]
             {chat,download,info,prune} ... [subcommands [subcommands ...]]

Downloads tf2 chat from into a db and provides search. Use
[subcommand] -h to get information of a command

positional arguments:

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Increse logging output
  -q, --quiet           Decrease logging output
  --dbname DBNAME, -d DBNAME
                        Name of sqlite db (default: chat.db)

Available subcommands:

  Detailed control of logging output

                        Set explicit log level
  --logfile LOGFILE     Ouput log messages to file
  --logfmt LOGFMT       Log message format

Project details

Download files

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

Files for logtf-analyser, version 0.4.0
Filename, size & hash File type Python version Upload date
logtf_analyser-0.4.0.tar.gz (5.4 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page