macOS
brew install log4clocal Homebrew formula metadata
sudo port install log4cMacPorts ports tree · devel/log4c/Portfile · ソース: api.github.com
brew
log4c のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install log4clocal Homebrew formula metadata
sudo port install log4cMacPorts ports tree · devel/log4c/Portfile · ソース: api.github.com
sudo dnf install log4cFedora Rawhide package metadata · log4c · ソース: dl.fedoraproject.org
sudo apt install liblog4c-devDebian stable package indexes · liblog4c-dev · ソース: deb.debian.org
sudo zypper install liblog4c-developenSUSE Tumbleweed package metadata · liblog4c-devel · ソース: download.opensuse.org
概要
Logging Framework for C
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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./log4crc実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
log4c-config | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://log4c.sourceforge.net/
インストールメタデータ
| パッケージキー | brew:log4c |
|---|---|
| バージョン | 1.2.4 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/log4c |
| ホームページ | https://log4c.sourceforge.net/ |
| リポジトリ | https://sourceforge.net/p/log4c/log4c |
| 上流ドキュメント | https://log4c.sourceforge.net/ |
| ライセンス | LGPL-2.1-only |
| ソースアーカイブ | https://downloads.sourceforge.net/project/log4c/log4c/1.2.4/log4c-1.2.4.tar.gz |
| 最終更新 | 2026-06-19T12:31:48-07:00 |
| Pulse | updated |
| Bottle | 利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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 log4cソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.