Automic VaultAutomic Vault

brew

log4c を Homebrew, dnf, MacPorts, apt, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install log4c

local Homebrew formula metadata

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

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

Linux

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

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

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

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

openSUSE zypper確認済み · 92%
sudo zypper install liblog4c-devel

openSUSE Tumbleweed package metadata · liblog4c-devel · ソース: download.opensuse.org

概要

パッケージ概要

Logging Framework for C

コマンドとエイリアス

  • log4c-config

履歴

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

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.

タイムライン

  • 2007: SourceForge metadata lists log4c 1.2.1 artifacts.
  • 2012: log4c 1.2.2 release artifacts are published on SourceForge.
  • 2013: log4c 1.2.3 and 1.2.4 release artifacts are published on SourceForge.

Related projects

  • log4j: the Java logging library whose API and design motivated log4c.
  • log4cpp: the C++ logging project credited by the log4c documentation as an influence.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 13 個のプラットフォームターゲットで利用できます。

推奨レビュー

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

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
${LOG4C_RCPATH}/log4crc${HOME}/.log4crc./log4crc

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

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

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
Pulseupdated
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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namelog4c
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

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

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

Debian apt95%

liblog4c-dev 1.2.4-5

C library for flexible logging (development)

https://log4c.sourceforge.net

sudo apt install liblog4c-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: log4c
  • 1 依存関係
  • normalized package name match
  • 一致条件: Log4c
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblog4c-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblog4c-doc 1.2.4-5

C library for flexible logging (documentation)

https://log4c.sourceforge.net

sudo apt install liblog4c-doc
  • Section: doc
  • Architecture: all
  • Source Package: log4c
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Log4c
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblog4c-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

liblog4c3t64 1.2.4-5

C library for flexible logging (runtime)

https://log4c.sourceforge.net

sudo apt install liblog4c3t64
  • Section: libs
  • Architecture: amd64
  • Source Package: log4c
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Log4c
Debian stable package indexes · deb.debian.org · Debian stable package indexes: liblog4c3t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

liblog4c-dev 1.2.4-3.1build1

C library for flexible logging (development)

https://log4c.sourceforge.net

sudo apt install liblog4c-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: log4c
  • 1 依存関係
  • normalized package name match
  • 一致条件: Log4c
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblog4c-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liblog4c-doc 1.2.4-3.1build1

C library for flexible logging (documentation)

https://log4c.sourceforge.net

sudo apt install liblog4c-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: log4c
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Log4c
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblog4c-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

liblog4c3t64 1.2.4-3.1build1

C library for flexible logging (runtime)

https://log4c.sourceforge.net

sudo apt install liblog4c3t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: log4c
  • 2 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Log4c
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: liblog4c3t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

log4c 1.2.4-35.fc44

Library for logging application messages

http://log4c.sourceforge.net/

sudo dnf install log4c
  • License: LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: i686
  • Source Package: log4c
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Log4c
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: log4c from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

log4c-devel 1.2.4-35.fc44

Header files, libraries and development documentation for log4c

http://log4c.sourceforge.net/

sudo dnf install log4c-devel
  • License: LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: i686
  • Source Package: log4c
  • 4 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Log4c
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: log4c-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

log4c-doc 1.2.4-35.fc44

Documentation for log4c

http://log4c.sourceforge.net/

sudo dnf install log4c-doc
  • License: LicenseRef-Callaway-LGPLv2+
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: log4c
  • 1 提供
  • normalized package name match
  • 一致条件: Log4c
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: log4c-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

liblog4c-devel 1.2.4-5.36

Development files for log4c

http://log4c.sourceforge.net/

sudo zypper install liblog4c-devel
  • License: LGPL-2.1+
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: log4c
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Log4c
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: liblog4c-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

liblog4c-doc 1.2.4-5.36

Documentation for log4c

http://log4c.sourceforge.net/

sudo zypper install liblog4c-doc
  • License: LGPL-2.1+
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: log4c
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Log4c
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: liblog4c-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

liblog4c3 1.2.4-5.36

A library of C for flexible logging to files, syslog and other destinations

http://log4c.sourceforge.net/

sudo zypper install liblog4c3
  • License: LGPL-2.1+
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: log4c
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Log4c
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: liblog4c3 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

log4c

sudo port install log4c
  • normalized package name match
  • 一致条件: Log4c
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/log4c/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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment