-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Closed
Milestone
Description
Ghost uses connect's logging: connect logging docs.
In production & testing modes the default is used, and in development mode the special dev mode is used.
There are a number of scenarios I have encountered recently where custom logging is necessary:
- debugging request / response issues
- debugging header issues
- consoles which don't support dev color codes: Log in dev mode contains color codes, which means that some text doesn't show on FreeBSD console #2096
Therefore, I'd like to make it possible to pass in any configuration which connect accepts as an option in config.js which should simply be called logging. Ghost should continue to use its own defaults unless an override is provided in config.js for the current environment.
Reactions are currently unavailable