From a56c0db3762985a804655c113ae32e8d9e0096ed Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 Jul 2016 18:36:04 +0200 Subject: php-pecl-seaslog: 1.6.0 --- REFLECTION | 29 ++++++++++++++++++++++------- php-pecl-seaslog.spec | 15 +++++++++++---- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/REFLECTION b/REFLECTION index 4bbdd2d..273485c 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,7 @@ -Extension [ extension #213 SeasLog version 1.5.6 ] { +Extension [ extension #143 SeasLog version 1.6.0 ] { + + - Dependencies { + } - INI { Entry [ seaslog.default_basepath ] @@ -8,7 +11,7 @@ Extension [ extension #213 SeasLog version 1.5.6 ] { Current = 'default' } Entry [ seaslog.default_datetime_format ] - Current = '%Y:%m:%d %H:%M:%S' + Current = 'Y:m:d H:i:s' } Entry [ seaslog.logger ] Current = 'default' @@ -22,22 +25,31 @@ Extension [ extension #213 SeasLog version 1.5.6 ] { Entry [ seaslog.use_buffer ] Current = '0' } + Entry [ seaslog.trace_error ] + Current = '1' + } + Entry [ seaslog.trace_exception ] + Current = '0' + } Entry [ seaslog.buffer_size ] Current = '0' } Entry [ seaslog.level ] Current = '0' } - Entry [ seaslog.trace_error ] + Entry [ seaslog.appender ] Current = '1' } - Entry [ seaslog.trace_exception ] - Current = '0' + Entry [ seaslog.remote_host ] + Current = '127.0.0.1' + } + Entry [ seaslog.remote_port ] + Current = '514' } } - - Constants [13] { - Constant [ string SEASLOG_VERSION ] { 1.5.6 } + - Constants [16] { + Constant [ string SEASLOG_VERSION ] { 1.6.0 } Constant [ string SEASLOG_AUTHOR ] { Chitao.Gao [ neeke@php.net ] } Constant [ string SEASLOG_ALL ] { all } Constant [ string SEASLOG_DEBUG ] { debug } @@ -50,6 +62,9 @@ Extension [ extension #213 SeasLog version 1.5.6 ] { Constant [ string SEASLOG_EMERGENCY ] { emergency } Constant [ integer SEASLOG_DETAIL_ORDER_ASC ] { 1 } Constant [ integer SEASLOG_DETAIL_ORDER_DESC ] { 2 } + Constant [ integer SEASLOG_APPENDER_FILE ] { 1 } + Constant [ integer SEASLOG_APPENDER_TCP ] { 2 } + Constant [ integer SEASLOG_APPENDER_UDP ] { 3 } } - Functions { diff --git a/php-pecl-seaslog.spec b/php-pecl-seaslog.spec index 12d889d..4e3304d 100644 --- a/php-pecl-seaslog.spec +++ b/php-pecl-seaslog.spec @@ -29,7 +29,7 @@ Summary: A effective,fast,stable log extension for PHP Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 1.5.6 +Version: 1.6.0 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: ASL 2.0 Group: Development/Languages @@ -124,15 +124,18 @@ extension=%{pecl_name}.so ; Configuration ;seaslog.default_basepath = '/var/log/www' ;seaslog.default_logger = 'default' +;seaslog.default_datetime_format = 'Y:m:d H:i:s ' ;seaslog.logger = 'default' -;seaslog.default_datetime_format = '%Y:%m:%d %H:%M:%S' ;seaslog.disting_type = 0 ;seaslog.disting_by_hour = 0 ;seaslog.use_buffer = 0 -;seaslog.buffer_size = 0 -;seaslog.level = 0 ;seaslog.trace_error = 1 ;seaslog.trace_exception = 0 +;seaslog.buffer_size = 0 +;seaslog.level = 0 +;seaslog.appender = 1 +;seaslog.remote_host = '127.0.0.1' +;seaslog.remote_port = 514 EOF @@ -235,6 +238,10 @@ rm -rf %{buildroot} %changelog +* Tue Jul 05 2016 Remi Collet - 1.6.0-1 +- Update to 1.6.0 +- update providing configuration for new options + * Thu May 19 2016 Remi Collet - 1.5.6-1 - Update to 1.5.6 -- cgit