M
M
Michael2020-04-16 16:11:08
System administration
Michael, 2020-04-16 16:11:08

How to tweak the ccze color scheme a bit?

I often look at the raw logs nginx helps out ccze with its coloring, but sometimes I need to distinguish a bot visitor from a living person, and in this I decided to do a little color filtering.
I noticed that bots use HTTP/1.1 and real users work overwhelmingly with HTTP/2.0
And I want (if possible) to highlight in color (for example, red) those who work via HTTP/1.1 and yellow (or otherwise) those who use HTTP /2.0

Where are some files that colorize the logs stored? :)
5e98595ea1518695778223.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-04-16
@happy-cat

mac cczerc
https://github.com/docwhat/dotfiles/blob/master/cczerc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question