New customers can spin up VMs, build with AI, and query data at no cost.
Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Fully Managed MySQL, PostgreSQL, and SQL Server
Automatic backups, patching, replication, and failover. Focus on your app, not your database.
Cloud SQL handles your database ops end to end, so you can focus on your app.
Ansifilter handles text files containing ANSIterminal escape codes.
The command sequences may be stripped or be interpreted to generate formatted output (HTML, RTF, TeX, LaTeX, BBCode and Pango Markup).
Colour lines in syslog-ng logs according to severity
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.