Bug 232444 - [new port] devel/p5-Log-Log4perl-Layout-JSON 0.56: Layout a log message as a JSON hash, including MDC data
Summary: [new port] devel/p5-Log-Log4perl-Layout-JSON 0.56: Layout a log message as a ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL: https://github.com/mschout/Log-Log4pe...
Keywords:
Depends on:
Blocks: 233564
  Show dependency treegraph
 
Reported: 2018-10-19 14:24 UTC by Sergei Vyshenski
Modified: 2018-11-27 17:12 UTC (History)
0 users

See Also:


Attachments
shar archive with a new port (2.65 KB, text/plain)
2018-10-19 14:24 UTC, Sergei Vyshenski
svysh.fbsd: maintainer-approval+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Vyshenski 2018-10-19 14:24:30 UTC
Created attachment 198365 [details]
shar archive with a new port

This class implements a "Log::Log4perl" layout format, similar to
Log::Log4perl::Layout::PatternLayout except that the output is a JSON hash.
The JSON hash is ASCII encoded, with no newlines or other whitespace, and is
suitable for output, via Log::Log4perl appenders, to files and syslog etc.
The JSON hash can, optionally, be UTF-8 encoded.
Contextual data in the Log::Log4perl::MDC hash can be included.

- This port is needed as a new dependency for forthcoming
version 2.2.3 of existing port security/p5-openxpki
- "portlint -ACN" gives non-relevant warnings.
- testport of poudriere 3.2.99.20180601 runs ok at 11.2-release-amd64,
	pkg 1.10.5, perl 5.26.2 
- Buil-in perl tests in a clean jail say: "PASS".
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2018-11-27 17:12:22 UTC
Committed. Thanks!
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-11-27 17:12:32 UTC
A commit references this bug:

Author: sunpoet
Date: Tue Nov 27 17:11:40 UTC 2018
New revision: 486040
URL: https://svnweb.freebsd.org/changeset/ports/486040

Log:
  Add p5-Log-Log4perl-Layout-JSON 0.56

  This class implements a "Log::Log4perl" layout format, similar to
  Log::Log4perl::Layout::PatternLayout except that the output is a JSON hash.
  The JSON hash is ASCII encoded, with no newlines or other whitespace, and is
  suitable for output, via Log::Log4perl appenders, to files and syslog etc.
  The JSON hash can, optionally, be UTF-8 encoded.
  Contextual data in the Log::Log4perl::MDC hash can be included.

  WWW: https://metacpan.org/release/Log-Log4perl

  PR:		232444
  Submitted by:	Sergei Vyshenski <svysh.fbsd@gmail.com>

Changes:
  head/devel/Makefile
  head/devel/p5-Log-Log4perl-Layout-JSON/
  head/devel/p5-Log-Log4perl-Layout-JSON/Makefile
  head/devel/p5-Log-Log4perl-Layout-JSON/distinfo
  head/devel/p5-Log-Log4perl-Layout-JSON/pkg-descr
  head/devel/p5-Log-Log4perl-Layout-JSON/pkg-plist