macOS
brew install log4clocal Homebrew formula metadata
sudo port install log4cMacPorts ports tree · devel/log4c/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de log4c pour les workflows d'agents IA.
installation
brew install log4clocal Homebrew formula metadata
sudo port install log4cMacPorts ports tree · devel/log4c/Portfile · Source: api.github.com
sudo dnf install log4cFedora Rawhide package metadata · log4c · Source: dl.fedoraproject.org
sudo apt install liblog4c-devDebian stable package indexes · liblog4c-dev · Source: deb.debian.org
sudo zypper install liblog4c-developenSUSE Tumbleweed package metadata · liblog4c-devel · Source: download.opensuse.org
aperçu
Logging Framework for C
historique
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
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./log4crcexécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
log4c-config | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://log4c.sourceforge.net/
métadonnées d'installation
| Clé du paquet | brew:log4c |
|---|---|
| Version | 1.2.4 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/log4c |
| Page d'accueil | https://log4c.sourceforge.net/ |
| Dépôt | https://sourceforge.net/p/log4c/log4c |
| Docs amont | https://log4c.sourceforge.net/ |
| Licence | LGPL-2.1-only |
| Archive source | https://downloads.sourceforge.net/project/log4c/log4c/1.2.4/log4c-1.2.4.tar.gz |
| Dernière mise à jour | 2026-06-19T12:31:48-07:00 |
| Pulse | updated |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 log4cpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.