Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

[BUG] docker run --input /path/to/access.log doesn't analyze log, but buffer does #306

Open
PoundXI opened this issue Feb 24, 2023 · 0 comments
Assignees
Labels
Status: On Hold Type: Bug Something isn't working

Comments

@PoundXI
Copy link

PoundXI commented Feb 24, 2023

Describe the bug
Not analyze log

To Reproduce
image

This command doesn't work.

sudo docker run -i --rm -v $PWD/access.log:/mnt/access.log -v $PWD/teler.yaml:/mnt/teler.yaml -e TELER_CONFIG=/mnt/teler.yaml kitabisa/teler --input /mnt/access.log

But this works

tail -f $PWD/access.log | sudo docker run -i --rm -v $PWD/teler.yaml:/mnt/teler.yaml -e TELER_CONFIG=/mnt/teler.yaml kitabisa/teler

Expected behavior
Should analyze log

Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • OS version: Linux pg-laptop 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • teler Version v2.0.0-dev.3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Status: On Hold Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants