GithubHelp home page GithubHelp logo

Improve logging output about ghost-cli HOT 3 CLOSED

tryghost avatar tryghost commented on April 27, 2024
Improve logging output

from ghost-cli.

Comments (3)

acburdine avatar acburdine commented on April 27, 2024

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 local process manager and then possibly a ghost log command that also integrates with the process manager to return the log.

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 local process manager but thinking about it it might not be within the scope of the CLI. IMO Ghost-CLI should be used to install ghost for production or locally for development of themes/apps/adapters/etc, but if Ghost core itself is actuallly being worked on the CLI shouldn't be used to install it.

from ghost-cli.

ErisDS avatar ErisDS commented on April 27, 2024

IMO ghost install will always use production mode, and ghost install local will do a simpler install for development mode using the local process manager.

The intended use for ghost install local is theme & app development, so whatever logging solution is designed should consider this usecase - what to theme / app developers need?

I think they will want to be able to view any error output they generate whilst developing?

from ghost-cli.

acburdine avatar acburdine commented on April 27, 2024

This will also likely be addressed by #66

from ghost-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.