diff options
| -rw-r--r-- | REFLECTION | 37 | ||||
| -rw-r--r-- | php-pecl-seaslog.spec | 51 | 
2 files changed, 52 insertions, 36 deletions
@@ -1,34 +1,43 @@ -Extension [ <persistent> extension #184 SeasLog version 1.7.6 ] { +Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {    - Dependencies {    }    - INI { -    Entry [ seaslog.default_basepath <ALL> ] +    Entry [ seaslog.default_basepath <SYSTEM> ]        Current = '/var/log/www'      } -    Entry [ seaslog.default_logger <ALL> ] +    Entry [ seaslog.default_logger <SYSTEM> ]        Current = 'default'      } -    Entry [ seaslog.default_datetime_format <ALL> ] +    Entry [ seaslog.default_datetime_format <SYSTEM> ]        Current = 'Y-m-d H:i:s'      } -    Entry [ seaslog.default_template <ALL> ] +    Entry [ seaslog.default_template <SYSTEM> ]        Current = '%T | %L | %P | %Q | %t | %M'      } -    Entry [ seaslog.disting_type <ALL> ] +    Entry [ seaslog.disting_folder <SYSTEM> ] +      Current = '1' +    } +    Entry [ seaslog.disting_type <SYSTEM> ] +      Current = '0' +    } +    Entry [ seaslog.disting_by_hour <SYSTEM> ] +      Current = '0' +    } +    Entry [ seaslog.use_buffer <SYSTEM> ]        Current = '0'      } -    Entry [ seaslog.disting_by_hour <ALL> ] +    Entry [ seaslog.trace_notice <ALL> ]        Current = '0'      } -    Entry [ seaslog.use_buffer <ALL> ] +    Entry [ seaslog.trace_warning <ALL> ]        Current = '0'      }      Entry [ seaslog.trace_error <ALL> ]        Current = '1'      } -    Entry [ seaslog.trace_exception <ALL> ] +    Entry [ seaslog.trace_exception <SYSTEM> ]        Current = '0'      }      Entry [ seaslog.buffer_size <ALL> ] @@ -37,9 +46,15 @@ Extension [ <persistent> extension #184 SeasLog version 1.7.6 ] {      Entry [ seaslog.level <ALL> ]        Current = '8'      } -    Entry [ seaslog.appender <ALL> ] +    Entry [ seaslog.recall_depth <ALL> ] +      Current = '0' +    } +    Entry [ seaslog.appender <SYSTEM> ]        Current = '1'      } +    Entry [ seaslog.appender_retry <ALL> ] +      Current = '0' +    }      Entry [ seaslog.remote_host <ALL> ]        Current = '127.0.0.1'      } @@ -58,7 +73,7 @@ Extension [ <persistent> extension #184 SeasLog version 1.7.6 ] {    }    - Constants [16] { -    Constant [ string SEASLOG_VERSION ] { 1.7.6 } +    Constant [ string SEASLOG_VERSION ] { 1.8.4 }      Constant [ string SEASLOG_AUTHOR ] { Chitao.Gao  [ neeke@php.net ] }      Constant [ string SEASLOG_ALL ] { ALL }      Constant [ string SEASLOG_DEBUG ] { DEBUG } diff --git a/php-pecl-seaslog.spec b/php-pecl-seaslog.spec index 56a3278..007a157 100644 --- a/php-pecl-seaslog.spec +++ b/php-pecl-seaslog.spec @@ -1,6 +1,6 @@  # remirepo spec file for php-pecl-seaslog  # -# Copyright (c) 2015-2017 Remi Collet +# Copyright (c) 2015-2018 Remi Collet  # License: CC-BY-SA  # http://creativecommons.org/licenses/by-sa/4.0/  # @@ -23,15 +23,15 @@  %global ini_name   40-%{pecl_name}.ini  %endif -Summary:        A effective,fast,stable log extension for PHP +Summary:        An effective, fast, stable log extension for PHP  Name:           %{?sub_prefix}php-pecl-%{pecl_name} -Version:        1.7.6 +Version:        1.8.4  Release:        1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}  License:        PHP -Group:          Development/Languages  URL:            http://pecl.php.net/package/%{proj_name}  Source0:        http://pecl.php.net/get/%{proj_name}-%{version}.tgz +BuildRequires:  %{?dtsprefix}gcc  BuildRequires:  %{?scl_prefix}php-devel  BuildRequires:  %{?scl_prefix}php-pear @@ -50,14 +50,6 @@ Provides:       %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa}  = %{version}-%{rele  %if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}  # Other third party repo stuff -Obsoletes:     php53-pecl-%{pecl_name}  <= %{version} -Obsoletes:     php53u-pecl-%{pecl_name} <= %{version} -Obsoletes:     php54-pecl-%{pecl_name}  <= %{version} -Obsoletes:     php54w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "5.5" -Obsoletes:     php55u-pecl-%{pecl_name} <= %{version} -Obsoletes:     php55w-pecl-%{pecl_name} <= %{version} -%endif  %if "%{php_version}" > "5.6"  Obsoletes:     php56u-pecl-%{pecl_name} <= %{version}  Obsoletes:     php56w-pecl-%{pecl_name} <= %{version} @@ -84,18 +76,18 @@ Obsoletes:     php72w-pecl-%{pecl_name} <= %{version}  %description -A effective,fast,stable log extension for PHP. -- In the PHP project, for convenient record log +An effective, fast, stable log extension for PHP. +- In the PHP project, for convenient record log.  - The default log directory and module configuration. -- Specify the log directory and get the current configuration -- Analysis of early warning framework preliminary -- Buffer debug efficient log buffer, convenient -- With PSR-3 Logger interface -- Error and exception automatic logging -- Support appender with File,TCP,UDP -- Send to Rsyslog(TCP/UDP) with RFC5424 -- Support RequestId differentiated requests -- Support for log template customizations +- Specify the log directory and get the current configuration. +- Analysis of early warning framework preliminary. +- Buffer debug efficient log buffer, convenient. +- With PSR-3 Logger interface. +- Error and exception automatic logging. +- Support appender with File,TCP,UDP. +- Send to Rsyslog(TCP/UDP) with RFC5424. +- Support RequestId differentiated requests. +- Support for log template customizations.  Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. @@ -131,17 +123,22 @@ 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.default_template = '%T | %L | %P | %Q | %t | %M' -;seaslog.logger = 'default' +;seaslog.disting_folder = 1  ;seaslog.disting_type = 0  ;seaslog.disting_by_hour = 0  ;seaslog.use_buffer = 0 +;seaslog.trace_notice = 0 +;seaslog.trace_warning = 0  ;seaslog.trace_error = 1  ;seaslog.trace_exception = 0  ;seaslog.buffer_size = 0  ;seaslog.level = 0 +;seaslog.recall_depth = 0  ;seaslog.appender = 1 +;seaslog.appender_retry = 0  ;seaslog.remote_host = '127.0.0.1'  ;seaslog.remote_port = 514  ;seaslog.trim_wrap = 0 @@ -211,7 +208,7 @@ cd ../ZTS  %endif -%if 0%{?fedora} < 24 +%if 0%{?fedora} < 24 && 0%{?rhel} < 8  # when pear installed alone, after us  %triggerin -- %{?scl_prefix}php-pear  if [ -x %{__pecl} ] ; then @@ -246,6 +243,10 @@ fi  %changelog +* Fri Mar 23 2018 Remi Collet <remi@remirepo.net> - 1.8.4-1 +- update to 1.8.4 +- add comments for new options in provided configuration +  * Tue Sep 19 2017 Remi Collet <remi@remirepo.net> - 1.7.6-1  - Update to 1.7.6  | 
