Skip to content

sylvainmouquet/ccze

 
 

Repository files navigation

This is CCZE, a fast log colorizer written in C, intended to be a
drop-in replacement for colorize (http://colorize.raszi.hu).

See the NEWS file for a description of recent changes to CCZE.

See the file INSTALL for instructions on how to build and install the
CCZE data and program files. See the CCZE manual for details about
configuration. Type "man ccze" in the shell prompt.

Please visit the official CCZE web page for more information. The URL
is http://bonehunter.rulez.org/CCZE.html.

** How to compile with alpine docker image**

docker run -it alpine:3.11 sh
apk --update add git make musl musl-dev gcc pcre-dev ncurses-dev
mkdir /build && cd /build && git clone https://github.com/sylvainmouquet/ccze
./configure && make && make install

cat <<EOF > /var/log/test.log
2018-03-02T22:33:27-06:00 ERROR something happened in this execution.
2018-03-02T22:33:27-06:00 INFO takes the value and converts it to string.
2018-03-02T22:33:27-06:00 WARN variable not in use.
2018-03-02T22:33:27-06:00 DEBUG first loop completed
EOF

cat /var/log/test.log | ccze -A

Releases

No releases published

Packages

No packages published

Languages

  • C 51.4%
  • Roff 38.4%
  • Shell 5.7%
  • Makefile 3.1%
  • M4 1.3%
  • Open Policy Agent 0.1%