Skip to main content
recat - Replay logfiles in simulated real-time
=================================================

What does that mean?
--------------------

Quite simply it means that if you give `recat` a logfile and a list of
fields that represent a time, it'll attempt to replay the log entries as
they happened.

Won't that take a lot of time?
------------------------------

Of course! This is why I've added the `-n` option, which allows you to
specify a speed up factor. So, if you say -n 1000, that means all the
things that happened within 1000 seconds of each other will be shown within
1 second of each other instead.

Does this support nyanbar?
--------------------------

Not yet.


Options
-------

Part of the problem is that log files don't always have consistent locations
for date/time. As a result, you'll likely have to tell `recat` where to look,
and in what format the date/time is in.

-f 1,2,3,4 - Given a separator, which fields (indexed from 1) should be
considered as the date/time?
-n NUM - This is the speedup factor that I discussed before
-s SEPARATOR - A list of delimeters (not comma separated, just list them
ex: " ,-" would be a space or a comma or a dash)
-t FORMAT - This is the difficult one. The format that the time is in.
The default is '%Y-%m-%d %H:%M:%s' This uses the format
specifiers as per `time.strftime()` in Python.
(http://docs.python.org/library/time.html#time.strftime)


Putting it all together, you've got:

$ recat -f 1,2 -n 10 -s ' ,' file.log

Blammo!


Licensing
---------

recat is licensed under the GPLv3. Read the LICENSE file for more info

Metadata

Release files for recat 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for recat 0.1
File Size Uploaded Provenance Actions
recat-0.1.tar.gz 3.0 kB Without provenance Details for recat-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for recat 0.1
File Interpreter ABI Platform Actions
recat-0.1-py2.7.egg Legacy Egg format - - Details for recat-0.1-py2.7.egg

Total release size: 6.8 kB

Release files / recat-0.1.tar.gz

Download URL recat-0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d26d88aa457656a2a2c4f150fed6cd3071ad320e6c6e278294c33ef0ad4dd668
BLAKE2b-256 checksum
How to use checksums
696c570397fa602eaf4c00434b2b299ed82baa27f4b6a81d58770a22aac701e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / recat-0.1-py2.7.egg

Download URL recat-0.1-py2.7.egg
Size 3.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
3e6f83eaef5d92e07ab934cde66eeab626cfaca0bf02716a5bfa9148966dd753
BLAKE2b-256 checksum
How to use checksums
b657d6537e22fdf872dede8beb14710402947cb290e73366983046c0b1f8c122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for recat 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page