Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LogFile of previous day getting deleted automatically #244

Open
azeem-mohammed opened this issue Oct 30, 2018 · 2 comments
Open

LogFile of previous day getting deleted automatically #244

azeem-mohammed opened this issue Oct 30, 2018 · 2 comments

Comments

@azeem-mohammed
Copy link

azeem-mohammed commented Oct 30, 2018

I find glogg as one of the best and fast log viewer.

However while using glogg I find the following issue which I find it major

Normal Scenario

I have a file named log-file.txt and I am using Log4Net for and the rolling profile is on a daily basis and hence at every midnight the file name log-file.txt will renamed as log-file.txt.yyyymmdd.log
example:

On 30-Oct-2018 mid night 00:00:00 hours, a new file is created as log-file.txt and the file of 30-Oct-2018 will be renamed as log-file.txt.20181030.log

Issue Scenario

I keep the file log-file.txt open on 30-Oct-2018 mid night 00:00:00 hours, a new file is created as log-file.txt and the file of 30-Oct-2018 log-file.txt.20181030.log is getting deleted

so, in this case if the current day file is open with glogg, at mid night, the previous day's file is lost

Using

OS: windows server R12
glogg version: v1.1.4-x86_64

@variar
Copy link
Contributor

variar commented Feb 1, 2019

This issue might be caused by #109

@jkraft-s1a
Copy link

I'm experiencing the same issue around Log4Net. In my case, our logs roll over when they reach a certain size. If I happen to have one open in glogg when this occurs, I experience a loss as described above.

danberindei pushed a commit to danberindei/glogg that referenced this issue Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants