summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION29
-rw-r--r--php-pecl-seaslog.spec15
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 [ <persistent> extension #213 SeasLog version 1.5.6 ] {
+Extension [ <persistent> extension #143 SeasLog version 1.6.0 ] {
+
+ - Dependencies {
+ }
- INI {
Entry [ seaslog.default_basepath <ALL> ]
@@ -8,7 +11,7 @@ Extension [ <persistent> extension #213 SeasLog version 1.5.6 ] {
Current = 'default'
}
Entry [ seaslog.default_datetime_format <ALL> ]
- Current = '%Y:%m:%d %H:%M:%S'
+ Current = 'Y:m:d H:i:s'
}
Entry [ seaslog.logger <ALL> ]
Current = 'default'
@@ -22,22 +25,31 @@ Extension [ <persistent> extension #213 SeasLog version 1.5.6 ] {
Entry [ seaslog.use_buffer <ALL> ]
Current = '0'
}
+ Entry [ seaslog.trace_error <ALL> ]
+ Current = '1'
+ }
+ Entry [ seaslog.trace_exception <ALL> ]
+ Current = '0'
+ }
Entry [ seaslog.buffer_size <ALL> ]
Current = '0'
}
Entry [ seaslog.level <ALL> ]
Current = '0'
}
- Entry [ seaslog.trace_error <ALL> ]
+ Entry [ seaslog.appender <ALL> ]
Current = '1'
}
- Entry [ seaslog.trace_exception <ALL> ]
- Current = '0'
+ Entry [ seaslog.remote_host <ALL> ]
+ Current = '127.0.0.1'
+ }
+ Entry [ seaslog.remote_port <ALL> ]
+ 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 [ <persistent> 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 <remi@fedoraproject.org> - 1.6.0-1
+- Update to 1.6.0
+- update providing configuration for new options
+
* Thu May 19 2016 Remi Collet <remi@fedoraproject.org> - 1.5.6-1
- Update to 1.5.6