Pipe to colour lines produced by syslog-ng and similar programs written to terminal (TTY) or file. The program inserts ANSI escape sequences to colour log lines according to their severity. This means the colouring works when viewed on a terminal or using programs such as "less" or "more".

You have to customize syslog-ng to include severity as the first character in each logged line, and to pipe the logged messages through the logcolourer program.

You can use the program to colour any file according to digits in the first character of each line.

logcolourer can also process lines from the linux kernel, though these normally get routed via syslog-ng anyway.

Features

  • Highlights critical and alert messages
  • Works with terminals and files, no need for a graphics environment
  • Highlighting can be customized for different viewing needs
  • Colours can be changed for accessibility
  • Lightweight, single program

Project Samples

Project Activity

See All Activity >

Categories

Logging

License

GNU General Public License version 3.0 (GPLv3)

Follow logcolourer

logcolourer Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of logcolourer!

Additional Project Details

Operating Systems

BSD, Linux

Intended Audience

Advanced End Users, Developers, System Administrators

User Interface

Command-line, Console/Terminal

Programming Language

C

Related Categories

C Logging Software

Registered

2012-02-09