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

Remaining nomad logmon process #1057

Open
ghost opened this issue May 15, 2023 · 1 comment
Open

Remaining nomad logmon process #1057

ghost opened this issue May 15, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented May 15, 2023

  • A nomad logmon process is created for each task.
  • When destroying a job, the logmon process will be terminated.
  • If nomad is terminated with running tasks, the logmon process remains.
@ghost
Copy link
Author

ghost commented May 15, 2023

nomad 代码中 logmon process 创建路径

TaskRunner.initHooks
-> newLogMonHook()
-> LaunchLogMon()

可关闭该机制,但目前只对internal drivers开放

logmonHook.isLoggingDisabled()
-> InternalCapabilitiesDriver.InternalCapabilities().DisableLogCollection

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

0 participants