Thanks for your interest in contributing to logparser. This repository is a
fork of coroot/logparser maintained by
Nudgebee. Contributions are welcome via GitHub issues and pull requests.
- Search existing issues first to avoid duplicates.
- Include a minimal log sample that reproduces the problem when filing parser
bugs. Do not paste real production data — scrub any IDs, hostnames,
internal paths, secrets, or PII before posting. The
aaaaaaaa-…,example-org/…, and/app/example/…placeholders used in the test fixtures are good models to follow. - Include the Go version (
go version) and OS.
Please report security vulnerabilities privately following SECURITY.md. Do not file public issues for vulnerabilities.
- Fork the repo and create a topic branch from
main. - Run
go build ./...andgo test -race ./...locally. CI runs both on every PR. - Run
go vet ./...andgofmt -s -w .before pushing. - Keep changes focused. Unrelated cleanups belong in separate PRs.
- Write commit messages in the imperative mood (
fix: …,feat: …,docs: …) so they read consistently with the existing history. - PR descriptions should explain why the change is needed, not just what it does. Link any related issues.
The pattern, parser, and level tests rely on synthetic log lines. When adding
a new fixture, prefer obviously fake placeholders (example.com,
aaaaaaaa-0000-0000-0000-000000000000, etc.) over anything that resembles a
real customer record, hostname, or internal service name.
By contributing, you agree that your contributions will be licensed under the Apache License, Version 2.0, the same license as the rest of the project.