tail -F
Project description
python tail
copy from activestate
Usage
watch dir
cqh_tail --pattern=~/**/*.log
watch dir and filter
cqh_tail --pattern=~/**/*.log --line-filter="\.general/"
problems
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x82 in position 0: invalid start byte
Traceback (most recent call last):
File "/home/deploy/envs/default/bin/cqh_tail", line 8, in <module>
sys.exit(main())
File "/home/deploy/envs/default/lib/python3.6/site-packages/cqh_tail/run.py", line 318, in main
w = LogWatcher(pattern, tail_lines=count, callback=echo)
File "/home/deploy/envs/default/lib/python3.6/site-packages/cqh_tail/run.py", line 66, in __init__
self._callback(file.name, lines)
File "/home/deploy/envs/default/lib/python3.6/site-packages/cqh_tail/run.py", line 313, in echo
line = line.decode(convert_args.encode)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x82 in position 0: invalid start byte
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cqh_tail-0.0.10.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for cqh_tail-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2562094edcc65347b20793fe986860005c9b9a38750be58bd39f87863ebf47ff |
|
MD5 | cf4ceff84f715916fe538755fb5937fe |
|
BLAKE2b-256 | 5a5e98c72da53aa23f258e16d658ac60750323bb38a7f5b94dcddc8f9f3e2e19 |