macOS
brew install log4cpplocal Homebrew formula metadata
sudo port install log4cppMacPorts ports tree · devel/log4cpp/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für log4cpp in AI-Agent-Workflows.
Installation
brew install log4cpplocal Homebrew formula metadata
sudo port install log4cppMacPorts ports tree · devel/log4cpp/Portfile · Quelle: api.github.com
sudo apk add log4cppAlpine Linux edge package indexes · log4cpp · Quelle: dl-cdn.alpinelinux.org
sudo dnf install log4cppFedora Rawhide package metadata · log4cpp · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#log4cppnixpkgs package indexes · pkgs/by-name/lo/log4cpp/package.nix · Quelle: api.github.com
sudo apt install liblog4cpp5-devDebian stable package indexes · liblog4cpp5-dev · Quelle: deb.debian.org
sudo zypper install liblog4cpp5openSUSE Tumbleweed package metadata · liblog4cpp5 · Quelle: download.opensuse.org
Überblick
Configurable logging for C++
Verlauf
log4cpp, officially also called Log for C++, is a C++ logging library modeled after log4j. It provides categories, appenders, layouts, properties-based configuration, file and syslog logging, and optional integrations such as IDSA.
The official project page says Bastiaan Bakker initiated coding on log4cpp in late 2000. SourceForge file metadata records the earliest old-file releases in December 2000, and the project page's release history shows a rapid 0.2.x and 0.3.x development period through 2002.
The project reached a stable 1.0 release in September 2007, then moved from CVS to Git with version 1.1.1 in November 2013. The official page says older pre-1.1.1 releases remain in CVS but that CVS is no longer maintained.
Development continued after a long mature-library period. The official release history lists 1.1.5 in December 2025 with CMake and modern Windows toolchain work, and 1.1.6 in March 2026 with enhanced CMake examples, CTest support, config.h generation, and compile-time stripping macros.
log4cpp's own page points to availability in Debian stable, Ubuntu packages, and FreeBSD ports, and describes RPM support for building packages from the source tarball. The supplied package metadata also records availability in Homebrew, Alpine, Fedora/DNF, MacPorts, Nix, openSUSE/Zypper, Debian, and Ubuntu.
Its adoption pattern is typical for a C++ library: it is installed mostly as headers and libraries for programs that want log4j-like logging without adopting a larger framework. SourceForge download pages also show the maintained 1.1.x line alongside older 1.0.x, 0.3.x, and 0.2.x folders.
Applications include log4cpp headers, create or retrieve Category instances, attach appenders, and set priorities. The official examples demonstrate console, file, and rolling-file appenders, plus a properties-file workflow using `log4cpp::PropertyConfigurator::configure("log4cpp.properties")`.
Builders historically used autotools (`./configure`, `make`, `make check`, `make install`), while recent releases also support CMake, CTest, Visual Studio 2022 CMake projects, and RAD Studio 12.
log4cpp is package-nerd interesting because it spans several eras of C++ packaging: SourceForge CVS tarballs, autotools releases, LGPL library packaging, distro development packages, a Git migration, and later CMake modernization. It is a small library, but one that reflects how long-lived C++ dependencies survive toolchain changes.
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.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
log4cpp-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://log4cpp.sourceforge.net/
Installationsmetadaten
| Paketschlüssel | brew:log4cpp |
|---|---|
| Version | 1.1.6 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/log4cpp |
| Homepage | https://log4cpp.sourceforge.net/ |
| Repository | https://sourceforge.net/p/log4cpp/codegit |
| Upstream-Dokumentation | https://log4cpp.sourceforge.net/ |
| Lizenz | LGPL-2.1-or-later |
| Quellarchiv | https://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1.6.tar.gz |
| Zuletzt aktualisiert | 2026-07-24T15:58:49+02:00 |
| Pulse | updated |
| Build-Abhängigkeiten | autoconf, automake, libtool |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | log4cpp |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
liblog4cpp5-dev 1.1.4-1
C++ library for flexible logging (development)
http://log4cpp.sourceforge.net
sudo apt install liblog4cpp5-devliblog4cpp5v5 1.1.4-1
C++ library for flexible logging (runtime)
http://log4cpp.sourceforge.net
sudo apt install liblog4cpp5v5log4cpp
nix profile install nixpkgs#log4cppliblog4cpp5-dev 1.1.3-3.1
C++ library for flexible logging (development)
http://log4cpp.sourceforge.net
sudo apt install liblog4cpp5-devliblog4cpp5v5 1.1.3-3.1
C++ library for flexible logging (runtime)
http://log4cpp.sourceforge.net
sudo apt install liblog4cpp5v5log4cpp 1.1.5-r0
Log library for C++
https://log4cpp.sourceforge.net/
sudo apk add log4cpplog4cpp-dev 1.1.5-r0
Log library for C++ (development files)
https://log4cpp.sourceforge.net/
sudo apk add log4cpp-devlog4cpp 1.1.6-1.fc45
C++ logging library
https://log4cpp.sourceforge.net/
sudo dnf install log4cpplog4cpp-devel 1.1.6-1.fc45
Header files, libraries and development files
https://log4cpp.sourceforge.net/
sudo dnf install log4cpp-develliblog4cpp5 1.1.6-1.2
Logging for C++
https://log4cpp.sourceforge.net/
sudo zypper install liblog4cpp5log4cpp-devel 1.1.6-1.2
Development tools for Log for C++
https://log4cpp.sourceforge.net/
sudo zypper install log4cpp-devellog4cpp-doc 1.1.6-1.2
HTML formatted API documention for Log for C++
https://log4cpp.sourceforge.net/
sudo zypper install log4cpp-doclog4cpp
sudo port install log4cppQuellspur
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.