-
Notifications
You must be signed in to change notification settings - Fork 944
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
Make logging related options consistent amongst themselves #373
Comments
Thanks. I'm going to mark this as a |
I'll also note that the -l command doesn't document precisely which log output it handles. It's not explicit that in addition to the forever-specific laws it also includes the STDOUT and STDERR of the child process. |
Just want to make sure that #373 is captured here fully. I think it's important to not have logging turned on by default unless explicitly specified. This will prevent buildup of GB's of log files that the user is not aware of. Also, it would remove the need to mess around with |
But not having logging can create a buildup of bugs or security issues that the user is not aware of because there are no logs for the app to communicate back to the user about! Logging to STDOUT is a good idea and doesn't take up any disk space (unless your redirect it). I provide more justification for logging to STDOUT over on this log rotation bug. Assuming you using a modern Linux distribution, it's probably already running |
I think people that use forever for production apps are smart enough to know that they should capture errors. Most probably use external cloud solutions like LogDNA and/or Sentry to capture logs and errors anyway. For a cli tool to assume that we don't know what we're doing and write logs by default to a random hidden folder (I think it defaults to Logging to STDOUT by default should be fine, but forever runs in the background so not sure how that would work. Thanks for your |
A bit of path chaos here
-w takes a relative path from where the script was launched
-p does not seem to do anything ( always just seems to default ) ?
-l -o -e do what i expect sort of
and the last bit of the command
i saw was a bug sort of but from what every one said to just place the full path and that some people use it to kill multiple similar named scripts!?!?!?!
What wait I want to do some of that what the hell are you guys programming your mad men.
The text was updated successfully, but these errors were encountered: