macOS
brew install log4clocal Homebrew formula metadata
sudo port install log4cMacPorts ports tree · devel/log4c/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für log4c in AI-Agent-Workflows.
Installation
brew install log4clocal Homebrew formula metadata
sudo port install log4cMacPorts ports tree · devel/log4c/Portfile · Quelle: api.github.com
sudo dnf install log4cFedora Rawhide package metadata · log4c · Quelle: dl.fedoraproject.org
sudo apt install liblog4c-devDebian stable package indexes · liblog4c-dev · Quelle: deb.debian.org
sudo zypper install liblog4c-developenSUSE Tumbleweed package metadata · liblog4c-devel · Quelle: download.opensuse.org
Überblick
Logging Framework for C
Verlauf
log4c is a C logging framework modeled after Apache log4j, intended to bring category-based logging, appenders, layouts, and runtime configuration to C programs that need flexible output to files, syslog, or other destinations.
The official documentation describes log4c as a SourceForge-hosted C library that stayed close to the log4j API where practical while adapting the design to C. Its documentation also credits earlier and parallel C logging work, including Mark Mendel's macro-oriented log4c project and Bastiaan Bakker's log4cpp as influences.
SourceForge release metadata shows a long 1.0.x line in the 2000s, a 1.2.1 release in 2007, and later maintenance releases through 1.2.4 in October 2013. The 1.2.4 documentation still presents an autotools build and an XML-style log4crc configuration file.
log4c became a package-manager-visible C logging dependency rather than a large end-user command. The supplied package metadata records packaging in Homebrew, Debian and Ubuntu as liblog4c-dev, Fedora/DNF, MacPorts, and openSUSE/Zypper, which is the main adoption signal for a small C library of this vintage.
Its official platform list covers several Unix systems, including HP-UX, AIX, FreeBSD, Solaris, macOS-era Darwin, and multiple Linux distributions, reflecting the portability expectations of C infrastructure libraries.
Programs link against log4c and configure categories, appenders, and layouts with a log4crc XML file. The documented search order is `${LOG4C_RCPATH}/log4crc`, then `${HOME}/.log4crc`, then `./log4crc`, with environment variables also available for root priority and appender selection.
Package users mostly encounter log4c through development packages, headers, libraries, generated Doxygen documentation, pkg-config or log4c-config metadata, and build scripts that need a C logging backend.
log4c is a classic example of the early-2000s log4j pattern spreading into native-language package ecosystems. For package maintainers it matters less as a flashy CLI and more as a small ABI-bearing C library with autotools metadata, distro patches, and reverse dependencies that expect stable headers and linker flags.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
${LOG4C_RCPATH}/log4crc${HOME}/.log4crc./log4crcExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
log4c-config | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://log4c.sourceforge.net/
Installationsmetadaten
| Paketschlüssel | brew:log4c |
|---|---|
| Version | 1.2.4 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/log4c |
| Homepage | https://log4c.sourceforge.net/ |
| Repository | https://sourceforge.net/p/log4c/log4c |
| Upstream-Dokumentation | https://log4c.sourceforge.net/ |
| Lizenz | LGPL-2.1-only |
| Quellarchiv | https://downloads.sourceforge.net/project/log4c/log4c/1.2.4/log4c-1.2.4.tar.gz |
| Zuletzt aktualisiert | 2026-06-19T12:31:48-07:00 |
| Pulse | updated |
| Bottle | verfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | log4c |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
liblog4c-dev 1.2.4-5
C library for flexible logging (development)
sudo apt install liblog4c-devliblog4c-doc 1.2.4-5
C library for flexible logging (documentation)
sudo apt install liblog4c-docliblog4c3t64 1.2.4-5
C library for flexible logging (runtime)
sudo apt install liblog4c3t64liblog4c-dev 1.2.4-3.1build1
C library for flexible logging (development)
sudo apt install liblog4c-devliblog4c-doc 1.2.4-3.1build1
C library for flexible logging (documentation)
sudo apt install liblog4c-docliblog4c3t64 1.2.4-3.1build1
C library for flexible logging (runtime)
sudo apt install liblog4c3t64log4c 1.2.4-35.fc44
Library for logging application messages
sudo dnf install log4clog4c-devel 1.2.4-35.fc44
Header files, libraries and development documentation for log4c
sudo dnf install log4c-devellog4c-doc 1.2.4-35.fc44
Documentation for log4c
sudo dnf install log4c-docliblog4c-devel 1.2.4-5.36
Development files for log4c
sudo zypper install liblog4c-develliblog4c-doc 1.2.4-5.36
Documentation for log4c
sudo zypper install liblog4c-docliblog4c3 1.2.4-5.36
A library of C for flexible logging to files, syslog and other destinations
sudo zypper install liblog4c3log4c
sudo port install log4cQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.