microsoft / microsoft/WSL

Tail does not follow Windows app logs

Open
#13,866 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

Hi,

if I use `tail` to follow logs in a process that produces these logs under Windows filesystem, `tail` simply does not follow, nor does `ov` and similar log tracers.

Log producer is Python app, and the problem I guess is the line endings.

It should be easy to reproduce for example:

```
cd /mnt/c/Users/klo/projects/api
tail -f logs/main.log
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `tail -f logs/main.log` from `/mnt/c` while the Python app writes to the log, then compare behavior with different line endings. Done means `tail` follows and displays newly appended records from Windows-generated logs; the payload names no source files or tests to inspect.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, shell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.