Automic VaultAutomic Vault

brew

Installer log4cpp avec Homebrew, apk, dnf, MacPorts, Nix, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de log4cpp pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install log4cpp

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install log4cpp

MacPorts ports tree · devel/log4cpp/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add log4cpp

Alpine Linux edge package indexes · log4cpp · Source: dl-cdn.alpinelinux.org

Fedora dnfvérifié · 92%
sudo dnf install log4cpp

Fedora Rawhide package metadata · log4cpp · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#log4cpp

nixpkgs package indexes · pkgs/by-name/lo/log4cpp/package.nix · Source: api.github.com

Debian aptvérifié · 92%
sudo apt install liblog4cpp5-dev

Debian stable package indexes · liblog4cpp5-dev · Source: deb.debian.org

openSUSE zyppervérifié · 92%
sudo zypper install liblog4cpp5

openSUSE Tumbleweed package metadata · liblog4cpp5 · Source: download.opensuse.org

aperçu

Résumé du paquet

Configurable logging for C++

Commandes et alias

  • log4cpp-config

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2000: log4cpp 0.0 and 0.1 artifacts appear on SourceForge; project coding was initiated in late 2000.
  • 2001: log4cpp 0.2.x releases add packaging and platform support.
  • 2002: 0.3.x development releases add threading, property configuration, rolling files, and Windows fixes.
  • 2007: Stable 1.0 release.
  • 2013: 1.1.1 release; project moves to Git.
  • 2025: 1.1.5 release adds modern CMake and Windows build support.
  • 2026: 1.1.6 release adds enhanced CMake examples, CTest support, and logging macros.

Related projects

  • log4j: the Java logging API that inspired log4cpp's categories and appenders.
  • log4c: a C logging framework in the same log4j-inspired family.
  • log4cplus: another C++ logging implementation listed by the log4cpp project page.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 3 dépendances de compilation.

Revue recommandée

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.

exécutables

Exécutables installés

CommandeTypeExpositionNote
log4cpp-configcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-25
version du gestionnaire1.1.6
gestionnaire mis à jour2026-07-24
données localesOK
amontnot checked
dernière version détectéenon détecté

https://log4cpp.sourceforge.net/

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:log4cpp
Version1.1.6
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/log4cpp
Page d'accueilhttps://log4cpp.sourceforge.net/
Dépôthttps://sourceforge.net/p/log4cpp/codegit
Docs amonthttps://log4cpp.sourceforge.net/
LicenceLGPL-2.1-or-later
Archive sourcehttps://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1.6.tar.gz
Dernière mise à jour2026-07-24T15:58:49+02:00
Pulseupdated
Dépendances de compilationautoconf, automake, libtool
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

liblog4cpp5-dev 1.1.4-1

C++ library for flexible logging (development)

http://log4cpp.sourceforge.net

sudo apt install liblog4cpp5-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: log4cpp
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Log4cpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblog4cpp5-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblog4cpp5v5 1.1.4-1

C++ library for flexible logging (runtime)

http://log4cpp.sourceforge.net

sudo apt install liblog4cpp5v5
  • Section: libs
  • Architecture: amd64
  • Source Package: log4cpp
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Log4cpp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblog4cpp5v5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

log4cpp

nix profile install nixpkgs#log4cpp
  • normalized package name match
  • Correspondance par : Log4cpp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lo/log4cpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

liblog4cpp5-dev 1.1.3-3.1

C++ library for flexible logging (development)

http://log4cpp.sourceforge.net

sudo apt install liblog4cpp5-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: log4cpp
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Log4cpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblog4cpp5-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liblog4cpp5v5 1.1.3-3.1

C++ library for flexible logging (runtime)

http://log4cpp.sourceforge.net

sudo apt install liblog4cpp5v5
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: log4cpp
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Log4cpp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblog4cpp5v5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

log4cpp 1.1.5-r0

Log library for C++

https://log4cpp.sourceforge.net/

sudo apk add log4cpp
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: log4cpp
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Log4cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: log4cpp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

log4cpp-dev 1.1.5-r0

Log library for C++ (development files)

https://log4cpp.sourceforge.net/

sudo apk add log4cpp-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: log4cpp
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Log4cpp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: log4cpp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

log4cpp 1.1.6-1.fc45

C++ logging library

https://log4cpp.sourceforge.net/

sudo dnf install log4cpp
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: log4cpp
  • 5 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Log4cpp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: log4cpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

log4cpp-devel 1.1.6-1.fc45

Header files, libraries and development files

https://log4cpp.sourceforge.net/

sudo dnf install log4cpp-devel
  • License: LGPL-2.1-only
  • Category: Unspecified
  • Architecture: i686
  • Source Package: log4cpp
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Log4cpp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: log4cpp-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

liblog4cpp5 1.1.6-1.2

Logging for C++

https://log4cpp.sourceforge.net/

sudo zypper install liblog4cpp5
  • License: LGPL-2.1-only
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: log4cpp
  • 5 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Log4cpp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: liblog4cpp5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

log4cpp-devel 1.1.6-1.2

Development tools for Log for C++

https://log4cpp.sourceforge.net/

sudo zypper install log4cpp-devel
  • License: LGPL-2.1-only
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: log4cpp
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Log4cpp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: log4cpp-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

log4cpp-doc 1.1.6-1.2

HTML formatted API documention for Log for C++

https://log4cpp.sourceforge.net/

sudo zypper install log4cpp-doc
  • License: LGPL-2.1-only
  • Category: Documentation/HTML
  • Architecture: noarch
  • Source Package: log4cpp
  • 1 fournit
  • normalized package name match
  • Correspondance par : Log4cpp
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: log4cpp-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

log4cpp

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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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