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

stanek.js: log automatically starts up despite having manually closed #444

Open
mikeymikey64 opened this issue Nov 24, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@mikeymikey64
Copy link

Minor issue, but the log of stanek.js automatically starts up despite having manually closed, since the information it provides isn't always useful, I think it should be made so that its log doesn't start up automatically.

@alainbryden alainbryden added the question Further information is requested label Nov 24, 2024
@alainbryden
Copy link
Owner

alainbryden commented Nov 24, 2024

Agreed that the output isn't useful. The reason Stanek keeps its tail window open is because while it is running, daemon.js is crippled (home RAM is reserved entirely for charging stanek) so it needs to be made obvious (and easily killable) for anyone who is otherwise left wondering why daemon.js isn't running any batching scripts on home.

If I ever get around to implementing #362 , then I will certainly stop this behaviour, since stanek.js will no longer be doing anything that impacts other scripts.

There are two options for dealing with this today:

  • Run autopilot.js with --no-tail-logs to manage what gets tailed yourself (affects all scripts)
  • Create a file "stanek.js.config.txt" and permanently set the --no-tail argument as an override to never tail this script again. The contents of the txt file would look like this: { 'no-tail': true }

@alainbryden alainbryden self-assigned this Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants