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

Getting ERROR: Error in log file monitor. Failed to query file information [BUG] #125

Open
sailenderkumar16 opened this issue Mar 16, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@sailenderkumar16
Copy link

[LOGMONITOR] ERROR: Error in log file monitor. Failed to query file information. File: \?\c:\xxx\test.txt. Error: 87

Getting above error while log monitor trying to read the file from c drive location in windows pod.

@sailenderkumar16 sailenderkumar16 added the bug Something isn't working label Mar 16, 2023
@iankingori
Copy link
Contributor

Hey @sailenderkumar16,

Please share additional info like what version of log monitor is this, your log monitor config and does this happen and no logs stream through or do you get some logs.

I've seen the error before when there's a read/write lock on the file such as when logs are rotating but it resolves and Log monitor is able to read the file.

@sailenderkumar16
Copy link
Author

Hi @iankingori,
Please find below requested details.
Log monitor version: 1.2.1
Logmonitor.config file: PFA
LogMonitorConfig_git.zip

Log monitor is able to get the logs and read it.But still it's getting the below error.

"[2023-03-03T04:24:02.000Z][LOGMONITOR] ERROR: Error in log file monitor. Failed to query file information. File: \?\c:\test\appserverlogs\TestLog.txt. Error: 87"

@sailenderkumar16
Copy link
Author

Hi @iankingori ,
please let me know if you have any update on this.

@iankingori
Copy link
Contributor

@sailenderkumar16 we are investigating this and shall revert when we have a fix.

I cannot get this specific error to repro consistently. Any additional info you can provide to assist?

@iankingori iankingori self-assigned this Mar 29, 2023
@sailenderkumar16
Copy link
Author

hi @iankingori . Could you please elaborate what additional info you are looking for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants