{
    "content": [
        {
            "type": "text",
            "text": "# ccze (man)\n\n## NAME\n\nccze - A robust log colorizer\n\n## SYNOPSIS\n\nccze [options] <logfile\n\n## DESCRIPTION\n\nThis  manual page documents briefly the ccze utility, which is a drop-in replacement for col‐‐\norize, but written in C, to be faster and less resource-hungry. The  goal  was  to  be  fully\nbackwards compatible, yet superior with respect to speed and features.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (12 subsections)\n- **PLUGINS**\n- **FILES**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ccze",
        "section": "",
        "mode": "man",
        "summary": "ccze - A robust log colorizer",
        "synopsis": "ccze [options] <logfile",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-a",
                "long": "--argument",
                "arg": null,
                "description": "Use this option to pass ARGUMENTS to the specified PLUGIN. The argument list is white‐ space separated."
            },
            {
                "flag": "-A",
                "long": "--raw-ansi",
                "arg": null,
                "description": "If one wants to enable raw ANSI color sequences instead of using curses, this option does just that."
            },
            {
                "flag": "-c",
                "long": "--color",
                "arg": null,
                "description": "Set the color of the keyword KEY to COLOR, like one would do in one of the configura‐ tion files."
            },
            {
                "flag": "-C",
                "long": "--convert-date",
                "arg": null,
                "description": "Convert unix timestamp to readable date format (in oops and squid logs, for example)."
            },
            {
                "flag": "-F",
                "long": "--rcfile",
                "arg": null,
                "description": "Read rcfile as a configuration file upon startup, instead of the default ones."
            },
            {
                "flag": "-h",
                "long": "--html",
                "arg": null,
                "description": "Instead of colorising the input onto the console, output it in HTML format instead."
            },
            {
                "flag": "-l",
                "long": "--list-plugins",
                "arg": null,
                "description": "List all available (loaded) plugins, along with their type and a short description."
            },
            {
                "flag": "-m",
                "long": "--mode",
                "arg": null,
                "description": "Change the output mode. Available modes are curses, ansi and html."
            },
            {
                "flag": "-o",
                "long": "--options",
                "arg": null,
                "description": "CCZE is able to toggle some of its features with this option. You can toggle the scroll, wordcolor, lookups, and transparent features, or you can fiddle with cssfile. All of these are enabled by default, except cssfile. One can turn them off by prefix‐ ing the option with a \"no\". With scroll, one can enable or disable scrolling. If the output is not redirected, it is wise to leave it enabled. The wordcolor option makes ccze search for different keywords in unparsed input, and color those too. Since it is quite fast, and makes the output look better, it is rec‐ ommended to leave this enabled. However, lookups is an option that might be better to disable. When on, ccze will try to look up usernames, service names, and lots of other stuff, which will slow down coloring a great deal. If one is piping a long log through ccze, this option might be turned off to speed up the process. With the transparent option, one can make CCZE treat black background colors as trans‐ parent - that means, a black background will appear transparent in a similar X termi‐ nal. If turned off, it will appear as black. If cssfile is set, then CCZE will not inline the Cascading Style Sheet information into the outputted HTML, but include a link to the external stylesheet given in this parameter."
            },
            {
                "flag": "-p",
                "long": "--plugin",
                "arg": null,
                "description": "While the default action is to load all plugins (see the Plugins section below), when this option is present, only the specified plugins will be loaded. If one knows what kind of log will be piped through ccze, using this option may result in a slight speedup."
            },
            {
                "flag": "-r",
                "long": "--remove-facility",
                "arg": null,
                "description": "Syslog-ng puts the facility level before log messages. With this switch, these can be cut off. --help Show summary of options and exit."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Show version of program."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "colorize",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/colorize/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 3,
                "subsections": [
                    {
                        "name": "-a, --argument",
                        "lines": 3,
                        "flag": "-a",
                        "long": "--argument"
                    },
                    {
                        "name": "-A, --raw-ansi",
                        "lines": 3,
                        "flag": "-A",
                        "long": "--raw-ansi"
                    },
                    {
                        "name": "-c, --color",
                        "lines": 3,
                        "flag": "-c",
                        "long": "--color"
                    },
                    {
                        "name": "-C, --convert-date",
                        "lines": 2,
                        "flag": "-C",
                        "long": "--convert-date"
                    },
                    {
                        "name": "-F, --rcfile",
                        "lines": 2,
                        "flag": "-F",
                        "long": "--rcfile"
                    },
                    {
                        "name": "-h, --html",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--html"
                    },
                    {
                        "name": "-l, --list-plugins",
                        "lines": 2,
                        "flag": "-l",
                        "long": "--list-plugins"
                    },
                    {
                        "name": "-m, --mode",
                        "lines": 2,
                        "flag": "-m",
                        "long": "--mode"
                    },
                    {
                        "name": "-o, --options",
                        "lines": 25,
                        "flag": "-o",
                        "long": "--options"
                    },
                    {
                        "name": "-p, --plugin",
                        "lines": 5,
                        "flag": "-p",
                        "long": "--plugin"
                    },
                    {
                        "name": "-r, --remove-facility",
                        "lines": 5,
                        "flag": "-r",
                        "long": "--remove-facility"
                    },
                    {
                        "name": "-V, --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "PLUGINS",
                "lines": 54,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ccze - A robust log colorizer\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "ccze [options] <logfile\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This  manual page documents briefly the ccze utility, which is a drop-in replacement for col‐‐\norize, but written in C, to be faster and less resource-hungry. The  goal  was  to  be  fully\nbackwards compatible, yet superior with respect to speed and features.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "These  programs follow the usual GNU command line syntax, with long options starting with two\ndashes (`-'). A summary of options is included below.\n",
                "subsections": [
                    {
                        "name": "-a, --argument",
                        "content": "Use this option to pass ARGUMENTS to the specified PLUGIN. The argument list is white‐\nspace separated.\n",
                        "flag": "-a",
                        "long": "--argument"
                    },
                    {
                        "name": "-A, --raw-ansi",
                        "content": "If  one  wants to enable raw ANSI color sequences instead of using curses, this option\ndoes just that.\n",
                        "flag": "-A",
                        "long": "--raw-ansi"
                    },
                    {
                        "name": "-c, --color",
                        "content": "Set the color of the keyword KEY to COLOR, like one would do in one of the  configura‐\ntion files.\n",
                        "flag": "-c",
                        "long": "--color"
                    },
                    {
                        "name": "-C, --convert-date",
                        "content": "Convert unix timestamp to readable date format (in oops and squid logs, for example).\n",
                        "flag": "-C",
                        "long": "--convert-date"
                    },
                    {
                        "name": "-F, --rcfile",
                        "content": "Read rcfile as a configuration file upon startup, instead of the default ones.\n",
                        "flag": "-F",
                        "long": "--rcfile"
                    },
                    {
                        "name": "-h, --html",
                        "content": "Instead of colorising the input onto the console, output it in HTML format instead.\n",
                        "flag": "-h",
                        "long": "--html"
                    },
                    {
                        "name": "-l, --list-plugins",
                        "content": "List all available (loaded) plugins, along with their type and a short description.\n",
                        "flag": "-l",
                        "long": "--list-plugins"
                    },
                    {
                        "name": "-m, --mode",
                        "content": "Change the output mode. Available modes are curses, ansi and html.\n",
                        "flag": "-m",
                        "long": "--mode"
                    },
                    {
                        "name": "-o, --options",
                        "content": "CCZE  is  able  to  toggle  some  of its features with this option. You can toggle the\nscroll, wordcolor, lookups, and transparent features, or you can fiddle with  cssfile.\nAll  of these are enabled by default, except cssfile. One can turn them off by prefix‐\ning the option with a \"no\".\n\nWith scroll, one can enable or disable scrolling. If the output is not redirected,  it\nis wise to leave it enabled.\n\nThe  wordcolor  option makes ccze search for different keywords in unparsed input, and\ncolor those too. Since it is quite fast, and makes the output look better, it is  rec‐\nommended to leave this enabled.\n\nHowever,  lookups is an option that might be better to disable. When on, ccze will try\nto look up usernames, service names, and lots of other stuff,  which  will  slow  down\ncoloring  a great deal. If one is piping a long log through ccze, this option might be\nturned off to speed up the process.\n\nWith the transparent option, one can make CCZE treat black background colors as trans‐\nparent  - that means, a black background will appear transparent in a similar X termi‐\nnal. If turned off, it will appear as black.\n\nIf cssfile is set, then CCZE will not inline the  Cascading  Style  Sheet  information\ninto  the  outputted HTML, but include a link to the external stylesheet given in this\nparameter.\n",
                        "flag": "-o",
                        "long": "--options"
                    },
                    {
                        "name": "-p, --plugin",
                        "content": "While the default action is to load all plugins (see the Plugins section below),  when\nthis  option  is present, only the specified plugins will be loaded. If one knows what\nkind of log will be piped through ccze, using this  option  may  result  in  a  slight\nspeedup.\n",
                        "flag": "-p",
                        "long": "--plugin"
                    },
                    {
                        "name": "-r, --remove-facility",
                        "content": "Syslog-ng  puts the facility level before log messages. With this switch, these can be\ncut off.\n\n--help Show summary of options and exit.\n",
                        "flag": "-r",
                        "long": "--remove-facility"
                    },
                    {
                        "name": "-V, --version",
                        "content": "Show version of program.\n",
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            "PLUGINS": {
                "content": "Different programs have different kind of logs, and every kind of log ccze supports is imple‐\nmented  via  a  plug-in. They are by default located under /usr/lib/x8664-linux-gnu/ccze and\n$HOME/.ccze (so they can be overridden by the user easily).\n\nAt the moment, the following modules are bundled with the official release:\n\napm    For coloring apmd's logs.\n\ndistcc For coloring distccd's logs. (See distccd(1))\n\nexim   For coloring exim's main.log. (See exim(8))\n\nfetchmail\nFor coloring fetchmail's log files. (See fetchmail(1))\n\nftpstats\nFor coloring ftpStats compatible log files, such as Pure-FTPD's Stats log format.\n\nhttpd  For coloring apache-style access.log and error.log files. (See apache(8))\n\nAs a side-effect, all compatible formats, like  pure-ftpd(8)'s  common-log  format  is\nalso supported by this plugin.\n\nicecast\nFor coloring icecast/icecast.log and icecast/usage.log files. (See icecast(8))\n\noops   For coloring oops/oops.log files.\n\nphp    For coloring php.log files.\n\npostfix\nFor coloring postfix logs. (See postfix(1))\n\nprocmail\nFor coloring procmail's log file. (See procmail(1))\n\nproftpd\nFor coloring proftpd's access.log and auth.log files. (See proftpd(8))\n\nsquid  For coloring squid's access.log, store.log and cache.log files. (See squid(8))\n\nsulog  For coloring sulog files. (See su(1))\n\nsuper  For coloring super.log files. (See super(1))\n\nsyslog For coloring generic syslog messages. (See syslogd(8))\n\nulogd  For coloring ulogd logs.\n\nvsftpd For coloring vsftpd.log files. (See vsftpd(8))\n\nxferlog\nFor coloring xferlog files. (See xferlog(5))\n",
                "subsections": []
            },
            "FILES": {
                "content": "/etc/colorizerc, $HOME/.colorizerc\nThese  files  are the default configuration files for colorize, and are parsed by ccze\nfor the sake of full compatibility.\n/etc/cczerc, $HOME/.cczerc\nThis two are the main configuration files, in which one can change the colors used  by\nthe  program to his liking. See the comments in the beginning of /etc/cczerc for a de‐\nscription on the files' structure.\n\nIf neither of these files exist on your system, consider using the  ccze-dump  utility\nin the source tree, which dumps the default color set to standard output.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "colorize(1)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "ccze was written by Gergely Nagy <algernon@bonehunter.rulez.org>, based on colorize by Istvan\nKaraszi <colorize@spam.raszi.hu>.\n\n\n\nCCZE 0.2.1                                   2003-04-24                                      CCZE(1)",
                "subsections": []
            }
        }
    }
}