Re: [openstack-dev] [all] Log coloring under systemd

2017-05-17 Thread Sean Dague
On 05/17/2017 04:50 PM, Eric Fried wrote:
> Folks-
> 
>   As of [1], devstack will include color escapes in the default log
> formats under systemd.  Production deployments can emulate as they see fit.
> 
>   Note that journalctl will strip those color escapes by default, which
> is why we thought we lost log coloring with systemd.  Turns out that you
> can get the escapes to come through by passing the -a flag to
> journalctl.  The doc at [2] has been updated accordingly.  If there are
> any other go-to documents that could benefit from similar content,
> please let me know (or propose the changes).
> 
>   Thanks,
>   Eric (efried)
> 
> [1] https://review.openstack.org/#/c/465147/
> [2] https://docs.openstack.org/developer/devstack/systemd.html

Thanks for diving into this Eric, one more thing off the todo list!

-Sean

-- 
Sean Dague
http://dague.net

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [all] Log coloring under systemd

2017-05-17 Thread Eric Fried
Folks-

As of [1], devstack will include color escapes in the default log
formats under systemd.  Production deployments can emulate as they see fit.

Note that journalctl will strip those color escapes by default, which
is why we thought we lost log coloring with systemd.  Turns out that you
can get the escapes to come through by passing the -a flag to
journalctl.  The doc at [2] has been updated accordingly.  If there are
any other go-to documents that could benefit from similar content,
please let me know (or propose the changes).

Thanks,
Eric (efried)

[1] https://review.openstack.org/#/c/465147/
[2] https://docs.openstack.org/developer/devstack/systemd.html

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev