Score
0
Watch 24 Star 122 Fork 16

GVPNeekeGao / SeasLogC

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
一个高效、快速、稳定的PHP日志扩展。 spread retract

http://pecl.php.net/package/seaslog

  • C 91.9%
  • PHP 4.3%
  • C++ 2.9%
  • M4 0.5%
  • JavaScript 0.3%
  • Other 0.1%
Clone or download
package.xml 26.71 KB
Copy Edit Web IDE Raw Blame History
neeke authored 2019-02-12 17:05 . update release time
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>SeasLog</name>
<channel>pecl.php.net</channel>
<summary>An effective,fast,stable log extension for PHP.</summary>
<description>
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.
- Support trace performance automatic logging.
</description>
<lead>
<name>Chitao Gao</name>
<user>neeke</user>
<email>neeke@php.net</email>
<active>yes</active>
</lead>
<date>2019-02-12</date>
<time>17:00:00</time>
<version>
<release>2.0.2</release>
<api>2.0.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license/3_01.txt">PHP3.01</license>
<notes>
- Fixed issue #175 support trace_performance automatic logging.
- Fixed `%C` in log template, support Class::Action.
</notes>
<contents>
<dir name="/">
<file role="doc" name="CREDITS" />
<file role="doc" name="README.md" />
<file role="doc" name="README_zh.md" />
<file role="doc" name="LICENSE" />
<file role="src" name="config.m4" />
<file role="src" name="config.w32" />
<file role="src" name="EXPERIMENTAL" />
<file role="src" name="php_seaslog.h" />
<file role="src" name="seaslog.c" />
<dir name="include">
<file role="src" name="SeasLog.h" />
<file role="src" name="php7_wrapper.h" />
<file role="src" name="Analyzer.h" />
<file role="src" name="Appender.h" />
<file role="src" name="Buffer.h" />
<file role="src" name="Common.h" />
<file role="src" name="Datetime.h" />
<file role="src" name="ErrorHook.h" />
<file role="src" name="ExceptionHook.h" />
<file role="src" name="Logger.h" />
<file role="src" name="Performance.h" />
<file role="src" name="Request.h" />
<file role="src" name="StreamWrapper.h" />
<file role="src" name="TemplateFormatter.h" />
</dir>
<dir name="src">
<file role="src" name="Common.c" />
<file role="src" name="Performance.c" />
<file role="src" name="Analyzer.c" />
<file role="src" name="Appender.c" />
<file role="src" name="Buffer.c" />
<file role="src" name="Datetime.c" />
<file role="src" name="ErrorHook.c" />
<file role="src" name="ExceptionHook.c" />
<file role="src" name="Logger.c" />
<file role="src" name="Request.c" />
<file role="src" name="StreamWrapper.c" />
<file role="src" name="TemplateFormatter.c" />
</dir>
<dir name="CodeTips">
<file role="src" name="SeasLogCodeTips.php"/>
</dir>
<dir name="Specification">
<file role="src" name="README_zh.md"/>
<file role="src" name="SeasLog_PHP_Re_Result.md"/>
<file role="src" name="SeasLog_Rsyslog_ELK_zh.md"/>
</dir>
<dir name="tests">
<file role="src" name="001.phpt" />
<file role="src" name="002.phpt" />
<file role="src" name="003.phpt" />
<file role="src" name="004.phpt" />
<file role="src" name="005.phpt" />
<file role="src" name="006.phpt" />
<file role="src" name="007.phpt" />
<file role="src" name="008.phpt" />
<file role="src" name="009.phpt" />
<file role="src" name="010.phpt" />
<file role="src" name="011.phpt" />
<file role="src" name="012.phpt" />
<file role="src" name="013.phpt" />
<file role="src" name="014.phpt" />
<file role="src" name="015.phpt" />
<file role="src" name="016.phpt" />
<file role="src" name="017.phpt" />
<file role="src" name="018.phpt" />
<file role="src" name="019.phpt" />
<file role="src" name="020.phpt" />
<file role="src" name="seaslog.test.php" />
<file role="src" name="SeasLogVSlog4php.png" />
</dir>
<dir name="Analyzer">
<file role="src" name="SeasLogAnalyzer.php"/>
<dir name="config">
<file role="src" name="autoload.php" />
<file role="doc" name="config.ini" />
</dir>
<dir name="constant">
<file role="src" name="config.php"/>
<file role="src" name="mailTpl.php"/>
</dir>
<dir name="core">
<dir name="analyzer">
<file role="src" name="analyzerBase.php" />
<file role="src" name="pcntl.php" />
<file role="src" name="single.php" />
</dir>
<file role="src" name="analyzer.php"/>
</dir>
<dir name="lib">
<dir name="mailer">
<file role="src" name="PHPMailer.php"/>
<file role="src" name="class.pop3.php"/>
<file role="src" name="class.smtp.php"/>
<file role="src" name="phpmailerException.php"/>
</dir>
<file role="src" name="alarmer.php"/>
</dir>
</dir>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.2.0</min>
</php>
<pearinstaller>
<min>1.4.0</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>SeasLog</providesextension>
<extsrcrelease />
<changelog>
<release>
<date>2014-07-28</date>
<time>23:00:00</time>
<version>
<release>1.0.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>- First version for pecl.net</notes>
</release>
<release>
<date>2014-08-13</date>
<time>12:00:00</time>
<version>
<release>1.0.2</release>
<api>1.0.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Add buffer_size config bar,when buffer_size full will write log
- Code format remove tab to 4space
</notes>
</release>
<release>
<date>2014-08-17</date>
<time>16:00:00</time>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- fixed Mac under the compiler error
- Buffer optimization methods, improve operation efficiency
- Optimization of the internal structure, concurrent fault
</notes>
</release>
<release>
<date>2014-08-20</date>
<time>12:00:00</time>
<version>
<release>1.1.4</release>
<api>1.1.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Define some function at header for C99 Standard
- Remove some superfluous comment
- Fixed SeasLog::log() function warning
- Fixed config "seaslog.level = 0" in Readme
</notes>
</release>
<release>
<date>2014-12-30</date>
<time>14:30:00</time>
<version>
<release>1.1.6</release>
<api>1.1.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed SeasLog::analyzerCount() function add query by key_word
- Fixed SeasLog::analyzerDetail() function add query by key_word,paging by start,limit
</notes>
</release>
<release>
<date>2015-03-20</date>
<time>17:12:00</time>
<version>
<release>1.1.8</release>
<api>1.1.8</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed init config error with ZTS
- Fixed SeasLog::analyzerDetail() function compatible with CentOS
</notes>
</release>
<release>
<date>2015-06-29</date>
<time>11:00:00</time>
<version>
<release>1.2.0</release>
<api>1.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed SeasLog::analyzerDetail() function compatible with MAC
- Fixed memory leak
- Support windows
</notes>
</release>
<release>
<date>2015-06-30</date>
<time>14:05:00</time>
<version>
<release>1.2.2</release>
<api>1.2.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed Logger bug with PHP-Version -ge 5.4
- Fixed SeasLog::log('level','message','content',['logger']) bug
- Support SeasLog::analyzerDetail("all")
- Support SeasLog::analyzerCount("all")
</notes>
</release>
<release>
<date>2015-07-01</date>
<time>09:38:00</time>
<version>
<release>1.2.3</release>
<api>1.2.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #44 Seaslog::analyzerDetail([with out 'all'])
- Support CONST SEASLOG_ALL
</notes>
</release>
<release>
<date>2015-09-15</date>
<time>00:01:00</time>
<version>
<release>1.4.0</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #42 support error and exception automatic logging.
- Optimization performance, update is_dir with access.
</notes>
</release>
<release>
<date>2015-09-15</date>
<time>22:17:00</time>
<version>
<release>1.4.2</release>
<api>1.4.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #47 support trace_error and trace_exception switch.
- Fixed issue #48 Ignore notice or warning, but error automatic logging.
</notes>
</release>
<release>
<date>2015-09-23</date>
<time>19:15:00</time>
<version>
<release>1.4.4</release>
<api>1.4.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #50 Fix error and exception hook dead loop.
- Fixed support windows with new version.
- Fixed trace_error default enable and trace_exception default disable.
</notes>
</release>
<release>
<date>2015-10-23</date>
<time>20:05:00</time>
<version>
<release>1.4.6</release>
<api>1.4.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #52 update README fixed SEASLOG_ERRO and company list from.
- Fixed issue #53 Add function flushBuffer,support independent refresh by manual.
- Fixed issue #57 and #58 Update analyzerDetail by desc and fixed limit value.
</notes>
</release>
<release>
<date>2015-11-10</date>
<time>15:00:00</time>
<version>
<release>1.4.8</release>
<api>1.4.8</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #60 Fixed use_buffer and buffer_size in config error;
- Fixed issue #61 Fixed trace_exception where exception code get error.
</notes>
</release>
<release>
<date>2015-12-07</date>
<time>00:24:00</time>
<version>
<release>1.5.0</release>
<api>1.5.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Support PHP 7.
- Fixed issue #63 Fixed trace_exception and trace_error recovery;
</notes>
</release>
<release>
<date>2016-04-06</date>
<time>18:53:00</time>
<version>
<release>1.5.3</release>
<api>1.5.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed zval_ptr_dtor bug with PHP7.
- Fixed issue #68 Fixed _ to . with getDetail function.
- Fixed issue #73 Fixed segment fault with setBasePath function.
- Support Datetime Format Config.
</notes>
</release>
<release>
<date>2016-05-19</date>
<time>11:20:00</time>
<version>
<release>1.5.6</release>
<api>1.5.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #76 #80 #86 Fixed segment fault with PHP7.
- Make memory usage more stable, and clear memory leaks with PHP5.* and PHP7.*.
</notes>
</release>
<release>
<date>2016-07-05</date>
<time>23:30:00</time>
<version>
<release>1.6.0</release>
<api>1.6.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #90 #92 Date format.
- Fixed issue #96 Clear memory leaks.
- Fixed issue #91 Support TCP UDP appender.
- Support appender with config, switch File TCP UDP; config the remote_host and remote_port.
</notes>
</release>
<release>
<date>2016-07-08</date>
<time>22:36:00</time>
<version>
<release>1.6.2</release>
<api>1.6.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #97 PHP5.* Cached Block.
- Fixed issue #98 SeasLog::analyzerDetail(NULL).
</notes>
</release>
<release>
<date>2016-10-17</date>
<time>15:00:00</time>
<version>
<release>1.6.8</release>
<api>1.6.8</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #100 #102 #103 memory leak.
- Fixed Dir chmod 0755 and File chmod 0666.
</notes>
</release>
<release>
<date>2017-01-23</date>
<time>18:54:00</time>
<version>
<release>1.6.9</release>
<api>1.6.9</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.apache.org/licenses/LICENSE-2.0.html">Apache2.0</license>
<notes>
- Fixed issue #113 setBastPath.
- Fixed PHP --re seaslog result.
</notes>
</release>
<release>
<date>2017-09-19</date>
<time>14:00:00</time>
<version>
<release>1.7.5</release>
<api>1.7.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
- Update license from Apache License 2.0 to PHP License 3.01.
- Support send to Rsyslog(TCP/UDP) with RFC5424.
- Support RequestId differentiated requests to fixed issue #134.
- Support for log template customizations to fixed issue #12 #143.
- Update SeasLog Analyzer scripts version to 1.1.0, to fixed issue #139.
- Optimization of analyzerCount and analyzerDetail to fixed issue #133.
- Fixed issue #138. Error by file exists.
- Fixed issue #140. Error by setDatetimeFormat.
- Fixed issue #142. Error by too many open files.
- Fixed issue #144. Error by read log detail order desc.
- Fixed issue #145. Error by analyzerDetail.
- Fixed issue #146. Segfault at php-fpm.
</notes>
</release>
<release>
<date>2017-09-19</date>
<time>16:11:00</time>
<version>
<release>1.7.6</release>
<api>1.7.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
- Fixed analyzerDetail bug, use grep -ai key_words.
- Fixed issue #152. Segfault in cli.
</notes>
</release>
<release>
<date>2018-03-23</date>
<time>18:30:00</time>
<version>
<release>1.8.4</release>
<api>1.8.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license/3_01.txt">PHP3.01</license>
<notes>
- New Feature #162 Configure seaslog.recall_depth support for filename and code line.
- New Feature #170 Configure seaslog.trace_notice and seaslog.trace_warning support trace notice and warning.
- New Feature #172 Configure seaslog.disting_folder support switch {Logger}/{Time}[.Type].log or {Logger}_{Time}[.Type].log.
- New Feature #174 Add %U(MemoryUsage) and %u(PeakMemoryUsage) into default variable table.
- New Feature #186 Use seaslog_throw_exception replace zend_error.
- Fixed issue #65 Message template content match error.
- Fixed issue #153 Disting_by_hour and disting_type can not use together.
- Fixed issue #156 Log template format error with %L and %M.
- Fixed issue #158 SeasLog::setRequestID intercepted error.
- Fixed issue #165 Phpdbg seg fault.
- Fixed issue #184 SeasLog::analyzerCount seg fault at PHP7-nts.
- Fixed issue #181 Perfect when stream's connection was broken.
</notes>
</release>
<release>
<date>2018-09-07</date>
<time>17:45:00</time>
<version>
<release>1.8.6</release>
<api>1.8.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license/3_01.txt">PHP3.01</license>
<notes>
- New Feature Add log message collection recommendations docs.
- New Feature Add bench_mark.php
- New Feature #218 add SeasLog::closeLoggerStream()
- Fixed check_log_level:log level should lower than setting 'seaslog.level'
- Fixed core dump in phpdbg.
- Fixed smtp_secure and smtp_mailer.
- Fixed issue #125 #203 Add seaslog.buffer_disabled_in_cli to config, default false.
- Fixed issue #196 php5.3.x undefined symbol: expand_filepath_with_mode.
- Fixed issue #195 rsyslog recive log with RFC5424.
- Fixed issue #200 error warning when tcp/udp error.
- Fixed issue #202 Add unit tests.
- Fixed issue #210 add seaslog.remote_timeout to config, default 1 second.
- Fixed issue #215 analyzerCount error.
- Fixed issue #228 analyzerDetail error.
</notes>
</release>
<release>
<date>2018-11-24</date>
<time>00:36:00</time>
<version>
<release>1.9.0</release>
<api>1.9.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license/3_01.txt">PHP3.01</license>
<notes>
- New Feature #240 add SeasLog::setRequestVariable(key,value).
- New Feature #243 support first parameter use array, such as SeasLog::debug(array).
- Fixed issue #110 support New SeasLog().
- Fixed issue #234 #236 SeasLog::analyzerDetail function bug.
- Fixed issue #245 add unit test to analyzerCount and analyzerDetail.
</notes>
</release>
<release>
<date>2018-12-17</date>
<time>19:52:00</time>
<version>
<release>1.9.1</release>
<api>1.9.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license/3_01.txt">PHP3.01</license>
<notes>
- Fixed issue #249 add unit test and fixed setLogger bug.
- Fixed build error with mac osx.
</notes>
</release>
</changelog>
</package>

Comment ( 0 )

Sign in for post a comment

C
1
https://gitee.com/neeke/SeasLog.git
git@gitee.com:neeke/SeasLog.git
neeke
SeasLog
SeasLog
master

Help Search