summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO9
-rw-r--r--REFLECTION25
-rw-r--r--php-pecl-seaslog.spec20
3 files changed, 49 insertions, 5 deletions
diff --git a/PHPINFO b/PHPINFO
index 3c6d732..120c120 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,7 +2,7 @@
SeasLog
SeasLog support => Enabled
-SeasLog Version => 1.9.1
+SeasLog Version => 2.0.2
SeasLog Author => Chitao.Gao [ neeke@php.net ]
SeasLog Supports => https://github.com/SeasX/SeasLog
@@ -31,3 +31,10 @@ seaslog.remote_timeout => 1 => 1
seaslog.trim_wrap => Off => Off
seaslog.throw_exception => On => On
seaslog.ignore_warning => On => On
+seaslog.trace_performance => Off => Off
+seaslog.trace_performance_sample_rate => 10 => 10
+seaslog.trace_performance_start_depth => 1 => 1
+seaslog.trace_performance_max_depth => 5 => 5
+seaslog.trace_performance_max_functions_per_depth => 5 => 5
+seaslog.trace_performance_min_wall_time => 1000 => 1000
+seaslog.trace_performance_min_function_wall_time => 10 => 10
diff --git a/REFLECTION b/REFLECTION
index c3b486f..bfa0536 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #196 SeasLog version 1.9.1 ] {
+Extension [ <persistent> extension #200 SeasLog version 2.0.2 ] {
- Dependencies {
}
@@ -76,10 +76,31 @@ Extension [ <persistent> extension #196 SeasLog version 1.9.1 ] {
Entry [ seaslog.ignore_warning <ALL> ]
Current = '1'
}
+ Entry [ seaslog.trace_performance <SYSTEM> ]
+ Current = '0'
+ }
+ Entry [ seaslog.trace_performance_sample_rate <ALL> ]
+ Current = '10'
+ }
+ Entry [ seaslog.trace_performance_start_depth <ALL> ]
+ Current = '1'
+ }
+ Entry [ seaslog.trace_performance_max_depth <ALL> ]
+ Current = '5'
+ }
+ Entry [ seaslog.trace_performance_max_functions_per_depth <ALL> ]
+ Current = '5'
+ }
+ Entry [ seaslog.trace_performance_min_wall_time <ALL> ]
+ Current = '1000'
+ }
+ Entry [ seaslog.trace_performance_min_function_wall_time <ALL> ]
+ Current = '10'
+ }
}
- Constants [22] {
- Constant [ string SEASLOG_VERSION ] { 1.9.1 }
+ Constant [ string SEASLOG_VERSION ] { 2.0.2 }
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 96ab128..0d1fd17 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-2018 Remi Collet
+# Copyright (c) 2015-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@@ -25,7 +25,7 @@
Summary: An effective, fast, stable log extension for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.9.1
+Version: 2.0.2
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: http://pecl.php.net/package/%{proj_name}
@@ -34,9 +34,11 @@ Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel
BuildRequires: %{?scl_prefix}php-pear
+BuildRequires: %{?scl_prefix}php-json
Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api}
Requires: %{?scl_prefix}php(api) = %{php_core_api}
+Requires: %{?scl_prefix}php-json%{?_isa}
%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}}
Provides: %{?scl_prefix}php-%{pecl_name} = %{version}
@@ -150,6 +152,13 @@ extension=%{pecl_name}.so
;seaslog.trim_wrap = 0
;seaslog.throw_exception = 1
;seaslog.ignore_warning = 1
+;seaslog.trace_performance = 0
+;seaslog.trace_performance_sample_rate = 10
+;seaslog.trace_performance_start_depth = 1
+;seaslog.trace_performance_max_depth = 5
+;seaslog.trace_performance_max_functions_per_depth = 5
+;seaslog.trace_performance_min_wall_time = 1000
+;seaslog.trace_performance_min_function_wall_time = 10
EOF
@@ -202,6 +211,7 @@ done
cd NTS
: Minimal load test for NTS extension
%{__php} --no-php-ini \
+ --define extension=json.so \
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
--modules | grep -i %{pecl_name}
@@ -209,6 +219,7 @@ cd NTS
cd ../ZTS
: Minimal load test for ZTS extension
%{__ztsphp} --no-php-ini \
+ --define extension=json.so \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
--modules | grep -i %{pecl_name}
%endif
@@ -249,6 +260,11 @@ fi
%changelog
+* Tue Feb 12 2019 Remi Collet <remi@remirepo.net> - 2.0.2-1
+- update to 2.0.2
+- add dependency on %{?scl_prefix}php-json
+- add new runtime option in provided configuration
+
* Tue Dec 18 2018 Remi Collet <remi@remirepo.net> - 1.9.1-1
- update to 1.9.1