macOS
brew install log4cpplocal Homebrew formula metadata
sudo port install log4cppMacPorts ports tree · devel/log4cpp/Portfile · ソース: api.github.com
brew
log4cpp のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install log4cpplocal Homebrew formula metadata
sudo port install log4cppMacPorts ports tree · devel/log4cpp/Portfile · ソース: api.github.com
sudo apk add log4cppAlpine Linux edge package indexes · log4cpp · ソース: dl-cdn.alpinelinux.org
sudo dnf install log4cppFedora Rawhide package metadata · log4cpp · ソース: dl.fedoraproject.org
nix profile install nixpkgs#log4cppnixpkgs package indexes · pkgs/by-name/lo/log4cpp/package.nix · ソース: api.github.com
sudo apt install liblog4cpp5-devDebian stable package indexes · liblog4cpp5-dev · ソース: deb.debian.org
sudo zypper install liblog4cpp5openSUSE Tumbleweed package metadata · liblog4cpp5 · ソース: download.opensuse.org
概要
Configurable logging for C++
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
log4cpp-config | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
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 |
| Pulse | updated |
| ビルド依存関係 | autoconf, automake, libtool |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 log4cppソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.