summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO33
-rw-r--r--REFLECTION33
-rw-r--r--php-pecl-seaslog.spec11
3 files changed, 67 insertions, 10 deletions
diff --git a/PHPINFO b/PHPINFO
new file mode 100644
index 0000000..5e5f262
--- /dev/null
+++ b/PHPINFO
@@ -0,0 +1,33 @@
+
+SeasLog
+
+SeasLog support => Enabled
+SeasLog Version => 1.8.6
+SeasLog Author => Chitao.Gao [ neeke@php.net ]
+SeasLog Supports => https://github.com/SeasX/SeasLog
+
+Directive => Local Value => Master Value
+seaslog.default_basepath => /var/log/www => /var/log/www
+seaslog.default_logger => default => default
+seaslog.default_datetime_format => Y-m-d H:i:s => Y-m-d H:i:s
+seaslog.default_template => %T | %L | %P | %Q | %t | %M => %T | %L | %P | %Q | %t | %M
+seaslog.disting_folder => On => On
+seaslog.disting_type => Off => Off
+seaslog.disting_by_hour => Off => Off
+seaslog.use_buffer => Off => Off
+seaslog.buffer_size => 0 => 0
+seaslog.buffer_disabled_in_cli => Off => Off
+seaslog.trace_notice => Off => Off
+seaslog.trace_warning => Off => Off
+seaslog.trace_error => On => On
+seaslog.trace_exception => Off => Off
+seaslog.level => 8 => 8
+seaslog.recall_depth => 0 => 0
+seaslog.appender => 1 => 1
+seaslog.appender_retry => 0 => 0
+seaslog.remote_host => 127.0.0.1 => 127.0.0.1
+seaslog.remote_port => 514 => 514
+seaslog.remote_timeout => 1 => 1
+seaslog.trim_wrap => Off => Off
+seaslog.throw_exception => On => On
+seaslog.ignore_warning => On => On
diff --git a/REFLECTION b/REFLECTION
index 7401319..3b4e13f 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {
+Extension [ <persistent> extension #198 SeasLog version 1.8.6 ] {
- Dependencies {
}
@@ -28,6 +28,12 @@ Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {
Entry [ seaslog.use_buffer <SYSTEM> ]
Current = '0'
}
+ Entry [ seaslog.buffer_size <ALL> ]
+ Current = '0'
+ }
+ Entry [ seaslog.buffer_disabled_in_cli <SYSTEM> ]
+ Current = '0'
+ }
Entry [ seaslog.trace_notice <ALL> ]
Current = '0'
}
@@ -40,9 +46,6 @@ Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {
Entry [ seaslog.trace_exception <SYSTEM> ]
Current = '0'
}
- Entry [ seaslog.buffer_size <ALL> ]
- Current = '0'
- }
Entry [ seaslog.level <ALL> ]
Current = '8'
}
@@ -61,6 +64,9 @@ Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {
Entry [ seaslog.remote_port <ALL> ]
Current = '514'
}
+ Entry [ seaslog.remote_timeout <SYSTEM> ]
+ Current = '1'
+ }
Entry [ seaslog.trim_wrap <ALL> ]
Current = '0'
}
@@ -72,8 +78,8 @@ Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {
}
}
- - Constants [16] {
- Constant [ string SEASLOG_VERSION ] { 1.8.4 }
+ - Constants [18] {
+ Constant [ string SEASLOG_VERSION ] { 1.8.6 }
Constant [ string SEASLOG_AUTHOR ] { Chitao.Gao [ neeke@php.net ] }
Constant [ string SEASLOG_ALL ] { ALL }
Constant [ string SEASLOG_DEBUG ] { DEBUG }
@@ -89,6 +95,8 @@ Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {
Constant [ integer SEASLOG_APPENDER_FILE ] { 1 }
Constant [ integer SEASLOG_APPENDER_TCP ] { 2 }
Constant [ integer SEASLOG_APPENDER_UDP ] { 3 }
+ Constant [ integer SEASLOG_CLOSE_LOGGER_STREAM_MOD_ALL ] { 1 }
+ Constant [ integer SEASLOG_CLOSE_LOGGER_STREAM_MOD_ASSIGN ] { 2 }
}
- Functions {
@@ -107,7 +115,7 @@ Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {
- Static properties [0] {
}
- - Static methods [21] {
+ - Static methods [23] {
Method [ <internal:SeasLog> static public method setBasePath ] {
- Parameters [1] {
@@ -125,6 +133,14 @@ Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {
}
}
+ Method [ <internal:SeasLog> static public method closeLoggerStream ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $model ]
+ Parameter #1 [ <optional> $logger ]
+ }
+ }
+
Method [ <internal:SeasLog> static public method getLastLogger ] {
}
@@ -172,6 +188,9 @@ Extension [ <persistent> extension #194 SeasLog version 1.8.4 ] {
Method [ <internal:SeasLog> static public method getBuffer ] {
}
+ Method [ <internal:SeasLog> static public method getBufferEnabled ] {
+ }
+
Method [ <internal:SeasLog> static public method flushBuffer ] {
}
diff --git a/php-pecl-seaslog.spec b/php-pecl-seaslog.spec
index 208b705..7e4857e 100644
--- a/php-pecl-seaslog.spec
+++ b/php-pecl-seaslog.spec
@@ -25,8 +25,8 @@
Summary: An effective, fast, stable log extension for PHP
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 1.8.4
-Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Version: 1.8.6
+Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: PHP
URL: http://pecl.php.net/package/%{proj_name}
Source0: http://pecl.php.net/get/%{proj_name}-%{version}.tgz
@@ -134,17 +134,19 @@ extension=%{pecl_name}.so
;seaslog.disting_type = 0
;seaslog.disting_by_hour = 0
;seaslog.use_buffer = 0
+;seaslog.buffer_size = 0
+;seaslog.buffer_disabled_in_cli => 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.remote_timeout => 1 => 1
;seaslog.trim_wrap = 0
;seaslog.throw_exception = 1
;seaslog.ignore_warning = 1
@@ -247,6 +249,9 @@ fi
%changelog
+* Sat Sep 8 2018 Remi Collet <remi@remirepo.net> - 1.8.6-1
+- update to 1.8.6
+
* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 1.8.4-3
- rebuild for 7.3.0beta2 new ABI