-
Notifications
You must be signed in to change notification settings - Fork 12
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
Redirect run.sh stdout and stderr to log files #21
Comments
First, I don't think keeping the logs accessible via Redirecting the logs could be done easily from inside the The reason this feature is important (honestly, the difference is so important that I've been shocked by how many people opened the logfile directly instead) is that it continuously streams data from the logs; the rough equivalent of a Here's what would need to be added to support that (once the output redirection is put in place):
|
Something else I thought of while writing my previous comment: We need to rotate the logfile. Some sites might write thousands of lines of log output; at some point the logfile will get so long that the browser can't load it. That means we can't do a simple redirection; we need another program to process the logs. Additionally, this would slightly complicate the |
Description
Currently site process logs are only viewable by right clicking on the file sidebar and choosing "View Logs". This feature is not well known and writing to log files was the standard under director 3.0. We should redirect site process logs to a file again.
Things to consider
A simple output redirection (
>out.log
,2>error.log
, etc) would redirect stdout and stderr to files anddocker service logs
will not longer be able to read the output.docker service logs
is good for administrative debugging so we should try to keep this featureThe text was updated successfully, but these errors were encountered: