Automic VaultAutomic Vault

brew

log4cpp を Homebrew, apk, dnf, MacPorts, Nix, apt, zypper でインストール

log4cpp のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install log4cpp

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install log4cpp

MacPorts ports tree · devel/log4cpp/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add log4cpp

Alpine Linux edge package indexes · log4cpp · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install log4cpp

Fedora Rawhide package metadata · log4cpp · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#log4cpp

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

Debian apt確認済み · 92%
sudo apt install liblog4cpp5-dev

Debian stable package indexes · liblog4cpp5-dev · ソース: deb.debian.org

openSUSE zypper確認済み · 92%
sudo zypper install liblog4cpp5

openSUSE Tumbleweed package metadata · liblog4cpp5 · ソース: download.opensuse.org

概要

パッケージ概要

Configurable logging for C++

コマンドとエイリアス

  • log4cpp-config

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 3 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
log4cpp-configcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.1.6
マネージャ更新日2026-07-24
ローカルデータOK
上流not checked
検出された最新未検出

https://log4cpp.sourceforge.net/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:log4cpp
バージョン1.1.6
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/log4cpp
ホームページhttps://log4cpp.sourceforge.net/
リポジトリhttps://sourceforge.net/p/log4cpp/codegit
上流ドキュメントhttps://log4cpp.sourceforge.net/
ライセンスLGPL-2.1-or-later
ソースアーカイブhttps://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1.6.tar.gz
最終更新2026-07-24T15:58:49+02:00
Pulseupdated
ビルド依存関係autoconf, automake, libtool
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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