# 使用 Homebrew 安装 jlog

查看 jlog 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:jlog
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jlog
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:jlog
- **软件包管理器:** Homebrew
- **版本:** 2.6.0
- **来源摘要:** Pure C message queue with subscribers and publishers for logs
- **主页:** <https://labs.omniti.com/labs/jlog>
- **仓库:** <https://github.com/omniti-labs/jlog>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jlog_change_endian (别名)
- jlog_sanity_check (别名)
- jlogctl (别名)
- jlogtail (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.6.0
## 项目历史与用法

JLog is a pure-C durable message queue whose name expands to journaled log. It gives publishers and multiple subscribers a low-level on-disk log abstraction, with segment files retained until subscribers have consumed and checkpointed them.

### 项目历史

The project comes from OmniTI Labs and the README lists Wez Furlong, Alec Peterson, George Schlossnagle, Theo Schlossnagle, and Alexey Toptygin as the team. The changelog begins with a 1.0 initial release on 2009-05-13, placing JLog in the older generation of C infrastructure libraries built for reliable log and event pipelines.

JLog evolved through operational fixes and API additions rather than broad feature expansion. The 2.x line added Darwin support, `jlogtail`, repair APIs, Java and PHP support, bulk reads, precommit-buffer performance work, and later filesystem-focused fixes around `mmap`, compression, and short writes.

### 采用历史

The README documents installation via FreeBSD's `databases/jlog` port and Homebrew on macOS, while the input package metadata records Homebrew packaging. Its adoption story is narrower than general-purpose queues because it is a library and CLI toolkit for systems that need local durability rather than a networked broker.

### 使用方式

JLog is used when an application needs to write records locally and let one or more subscribers consume them later. The README's sample scenario is log shipping: server A writes to a JLog if server B is down, so A keeps operating and B can later consume messages.

The concepts document explains the core model: a JLog is a directory containing control files and segment files; writers append messages; subscribers keep unique names and checkpoint progress; segment files are removed after all subscribers have moved past them.

### 为什么软件包爱好者会关心

JLog is package-nerdy because it is small, old-school C infrastructure: not a fashionable distributed queue, but a durable local primitive with command-line tools such as `jlogctl` and `jlogtail`. It matters in package indexes as a compact building block for logging and asynchronous notification systems.

### 时间线

- 2009: Version 1.0 is released.
- 2011: Version 1.2 fixes interrupted `fstat()` handling and an uninitialized variable.
- 2013: Version 1.2.2 adds PHP and Java JNI support.
- 2015: Version 2.0.0 adds Darwin support, `jlogtail`, cleanup APIs, and robustness work.
- 2016: Version 2.2.1 adds a precommit buffer and lockless writes using `pwritev`.
- 2017: Version 2.3.0 adds the bulk-read API.
- 2020: Version 2.5.0 reworks `jlogctl` around subcommands and adds repair/metastore reconstruction.
- 2024: Version 2.6.0 adds an option to switch message reads from `mmap` to `pread` and fixes compression and short-write issues.

### Related projects

- JLog sits near local durable queues, log buffers, and broker-adjacent infrastructure rather than general log viewers. Its README contrasts the low-level local queue with the network service an implementor would build around it for remote consumption.

### 来源

- Project README, concepts document, changelog, GitHub repository metadata, and Homebrew formula metadata.


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/jlog.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jlog.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
