-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Windows - Running Td-agent from command line with --daemon flag #4354
Comments
I believe that this commit may have introduced this issue. afee4a4#diff-6042a07157b33b2d729ab3d10ed6bba89ad5f71aaed2be1aeb22a179a45ebbae |
I see a number of issues that are "waiting-for-triage", just curious how often the community checks in on these issues? |
We have found a resolution - Re-adding old code from a previous commit has resolved the issue. This class needed to be re-added to Supervisor.rb: This allows the $log variable to be properly initialized, and the error when running --daemon flag no longer occurs. A real fix to this would be great, i'm sure we are adding back a lot of dead code here. |
Thanks for your report! We'll check this. |
I'm sorry. This should be fixed. |
From #4065
This is wrong. Line 15 in e89092c
I may have overlooked the Windows daemon use case, as I assumed it was supposed to use Windows services on Windows. We need to fix this so that it works again. |
This is not ready for v1.16.4. |
@daipom Thank you for the attention to this bug! |
Describe the bug
When running td-agent from command line on Windows with the --daemon flag, we are getting the following error:
The same run configuration works on Linux systems
To Reproduce
Run td-agent from command line with --daemon flag set to a pidfile. Our exact command:
Expected behavior
for fluentd to properly launch with the pidfile specified
Your Environment
Your Configuration
Your Error Log
Additional context
Like said above, the command works on Linux systems just fine, just not on Windows systems for some reason
The text was updated successfully, but these errors were encountered: