Skip to content

Log in dev mode contains color codes, which means that some text doesn't show on FreeBSD console #2096

@alexlehm

Description

@alexlehm

When running Ghost on FreeBSD running in VirtualBox, the access log in dev mode uses a dark grey color that doesn't show on the console.

Either this should be lighter or it would be useful to have this configurable in the config somewhere. When reading the log output with less, e.g. from forever, it would also be good to leave out the color codes.

ESC[90mGET / ESC[32m200 ESC[90m112ms - 3.28kbESC[0m
ESC[90mGET /assets/css/screen.css?v=5e53d787bd ESC[32m200 ESC[90m9ms - 18.22kbESC[0m
ESC[90mGET /assets/css/normalize.css ESC[36m304 ESC[90m3msESC[0m
ESC[90mGET /assets/js/jquery.fitvids.js?v=5e53d787bd ESC[32m200 ESC[90m11ms - 2.72kbESC[0m
ESC[90mGET /shared/vendor/jquery/jquery.js?v=5e53d787bd ESC[32m200 ESC[90m13ms - 90.88kbESC[0m
ESC[90mGET /assets/js/index.js?v=5e53d787bd ESC[32m200 ESC[90m4ms - 206bESC[0m

The FreeBSD console looks like this:

http://imgur.com/2F3aMTf

console

In production mode, the log is not colored so that works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions