-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Improve logging output #42
Comments
So the design of the CLI is that each process manager is responsible for starting and spawning its own ghost process, which includes managing logs and other things. (kind of works similar to the storage adapters in ghost itself). My thought here is to add better logging output to the As far as logging directly to stdout/stderr in development mode, that's probably best left to the process managers themselves - might be willing to add that to the |
IMO The intended use for I think they will want to be able to view any error output they generate whilst developing? |
This will also likely be addressed by #66 |
closes TryGhost#42 - read bunyan log outputted by ghost - deps: slice-file@1.0.0 - deps: ghost-ignition@2.8.9 (used for the PrettyStream)
closes TryGhost#42 - read bunyan log outputted by ghost - deps: slice-file@1.0.0 - deps: ghost-ignition@2.8.9 (used for the PrettyStream)
closes TryGhost#42 - read bunyan log outputted by ghost - deps: slice-file@1.0.0 - deps: ghost-ignition@2.8.9 (used for the PrettyStream)
closes TryGhost#42 - read bunyan log outputted by ghost - deps: slice-file@1.0.0 - deps: ghost-ignition@2.8.9 (used for the PrettyStream)
closes TryGhost#42 - read bunyan log outputted by ghost - deps: slice-file@1.0.0 - deps: ghost-ignition@2.8.10 (used for the PrettyStream)
closes #42 - read bunyan log outputted by ghost - deps: slice-file@1.0.0 - deps: ghost-ignition@2.8.10 (used for the PrettyStream)
Right now ghost-cli starts development mode and production mode in background by spawning a child process.
I am working on logging for ghost and i wonder how this can look like with ghost-cli.
We can create a command like
ghost log
, which is aware of where the log rotated files are and makes a tail of the newest file. Not sure about development mode, because usually we log in development to stdout/stderr only. That would meanghost start name=development
would not start the process in background and pipes the stdout/stderr to current process.The text was updated successfully, but these errors were encountered: