# SeasX/SeasLog

An effective,fast,stable log extension for PHP.http://pecl.php.net/package/SeasLog http://php.net/SeasLog

Repository: https://github.com/SeasX/SeasLog
Canonical: https://ross.abutalabs.com/products/seaslog
Homepage: http://seasx.github.io/SeasLog/
Language: C
License: NOASSERTION
License Family: other
Topics: php-extension, buffer-size, log4php, psr-3
Last push: 2026-05-24T08:02:57+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 8, longevity 100
- inputs: {"age_days": 4602, "days_push": 101, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1197, forks 273 (observed 2026-08-28T04:03:57.451152+00:00)

## What it is
SeasLog is a high-performance PHP logging extension written in C, distributed via PECL, that provides fast, stable log writing with PSR-3 support, custom log templates, and TCP/UDP log shipping. It also includes a built-in log analyzer for counting and retrieving log entries and supports health-based warning alerts via crontab.

## Use cases
- write structured logs from PHP applications with high performance
- replace error_log and syslog with leveled, formatted logging
- implement PSR-3 compatible logging in PHP projects
- ship logs over TCP or UDP to a central collector
- count and analyze log entries by level or module
- set up health warnings triggered by log conditions

## When to choose
- you need very fast, low-overhead logging in PHP via a native C extension
- you want PSR-3 compliance plus built-in log analysis and alerting
- you need buffered logging with configurable buffer size and TCP/UDP output

## When to avoid
- you prefer a pure-PHP logger like Monolog for portability without PECL installs
- you need log shipping to modern platforms like ELK or cloud services out of the box
- your project is not PHP-based

## Facets
- artifact type: library
- maturity: stable
- function: logging, monitoring, alerting
- domain: developer-tools, backend, monitoring, web-development
- platform: php, windows
- tags: php-extension, psr-3, log4php, pecl, c-extension, log-analyzer, buffered-logging, linux, macos

## Member repositories
- SeasX/SeasLog (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:57.451152+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:21:19.351359+00:00, confidence not recorded.
  - readme: https://github.com/SeasX/SeasLog (fetched 2026-08-28T04:03:57.451152+00:00, sha 6255443dc424)
  - homepage: http://seasx.github.io/SeasLog/ (fetched 2026-08-29T12:28:32.843256+00:00, sha 7e83d30b0478)
- Data as of 2026-08-30T08:39:29.467469+00:00.
