google / google/mtail

mtail doesn't follow log rotation when running under WSL and docker

Open
#531 4 comments 0 reactions 0 assignees View on GitHub
bug help wanted mtail-Log Tailing
Dominant language
Go
Stars
4k
Forks
392
PR merge metrics
No merged PRs in 30d

Description

I am using prometheus and mtail to gather information from chia logs. It is working fine until the log file size is 20MB and new file log file is created, mtail then receives random data.
I have to recompose the program to fix the issue but the same problem occurs when another log file is created.

I am using docker, VSL and prometheus. I do have mtail installed locally aswell but no idea how to implement it.

any help on how can i remedy it.

![image](https://user-images.githubusercontent.com/83615043/119090547-6ca81880-ba14-11eb-8796-3ebc96346742.png)
![image](https://user-images.githubusercontent.com/83615043/119090681-982b0300-ba14-11eb-8286-941d0a681539.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.