Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.15 KB

File metadata and controls

25 lines (18 loc) · 1.15 KB

SCP Logging Schema

A standardized JSON logging schema for SCP services. This schema is implemented across PHP, JavaScript, and Python application components to ensure consistent, structured log output.

For the full schema specification, see logging.md.

Quick Reference

Every log line is a JSON object with the following fields:

Field Type Description
project string SCP project name (e.g. scp-gateway-neo)
time string ISO 8601 timestamp
hostname string Container hostname
pid number Process ID
level string debug, info, warn, or error
name string Logger name
message string Human-readable log message

Example

{"project":"scp-gateway-neo","time":"2026-02-07T12:34:56.789Z","hostname":"scp-gateway","pid":1,"level":"info","name":"server","message":"express is listening on http://0.0.0.0:3000"}