Automic VaultAutomic Vault

brew

Install zlog with Homebrew, apt, MacPorts, Nix

High-performance C logging library. Version 1.2.18 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install zlog

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install zlog

MacPorts ports tree · devel/zlog/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install libzlog-dev

Debian stable package indexes · libzlog-dev · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#zlog

nixpkgs package indexes · pkgs/by-name/zl/zlog/package.nix · source: api.github.com

overview

Package summary

High-performance C logging library

Commands and aliases

  • zlog-chk-conf

history

Project history and usage

zlog is a pure-C logging library by Hardy Simpson, written to provide application-style logging features for C programs without external dependencies beyond POSIX and C runtime facilities.

Project history

The GitHub repository was created in 2011. The README and user's guide explain the author's motivation directly: printf is hard to redirect or reformat, syslog is oriented toward system logging, and C lacked a convenient logging library comparable to logback or log4cxx for application developers.

The library's model centers on categories, formats, and rules. That makes it closer to configurable application logging frameworks than to a tiny header-only debug macro.

Adoption history

Public source material is thin, but zlog persisted as a packaged C library because it solved a narrow systems-programming need: configurable, thread-aware logging with file rotation, multiple destinations, and a small dependency footprint.

How it is used

A C program initializes zlog with a configuration file, obtains a category, writes messages through zlog macros or functions, and finalizes the library during shutdown. Configuration rules decide level, destination, and format, so logging behavior can change without recompiling the application.

The bundled zlog-chk-conf utility is useful for checking configuration files before an application relies on them.

Why package nerds care

zlog is package-nerd glue: not flashy, but exactly the sort of small C library that shows up when older or portable software needs structured logging without adopting a large framework. Its documentation is unusually explicit about why it exists and what it replaces.

Timeline

  • 2011-12-27: The HardySimpson/zlog GitHub repository is created.
  • 2010s: Documentation presents zlog as a pure-C alternative to printf, syslog, and log4c-style approaches for application logging.
  • 2020s: zlog remains packaged as a small C logging library for Unix-like development environments.

Related projects

  • log4c, log4cxx, logback, syslog, and smaller C logging libraries such as log.c are adjacent points in the logging-library design space.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
zlog-chk-confcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.2.18
manager updated
local dataok
upstreamcurrent
latest detected1.2.18

https://github.com/HardySimpson/zlog

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:zlog
Version1.2.18
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/zlog
Homepagehttps://github.com/HardySimpson/zlog
Repositoryhttps://github.com/HardySimpson/zlog
Upstream docshttps://github.com/HardySimpson/zlog#readme
LicenseApache-2.0
Source archivehttps://github.com/HardySimpson/zlog/archive/refs/tags/1.2.18.tar.gz
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namezlog
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libzlog-dev 1.2.18-1+b1

mutli features pure C logging library -- development files

https://github.com/HardySimpson/zlog

sudo apt install libzlog-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: zlog
  • 1 dependencies
  • normalized package name match
  • Matched by: Zlog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzlog-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libzlog1 1.2.18-1+b1

mutli features pure C logging library -- runtime library

https://github.com/HardySimpson/zlog

sudo apt install libzlog1
  • Section: libs
  • Architecture: amd64
  • Source Package: zlog
  • 1 dependencies
  • normalized package name match
  • Matched by: Zlog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libzlog1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

zlog

nix profile install nixpkgs#zlog
  • normalized package name match
  • Matched by: Zlog
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/zl/zlog/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

zlog

sudo port install zlog
  • normalized package name match
  • Matched by: Zlog
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/zlog/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment