This is a new PECL extension. It is a powerful log tool library. Han Tianfeng.
2014-07-07 14:50 GMT+08:00 Neeke Gao <[email protected]>: > Dear Ferenc & Johannes: > In fact, I also submitted the introduction content following in another > email : > > Hi Dear reviewer: > > I am a senior PHP developer,and have rich experience in PHP development. > My research direction is high performance, high concurrency, and large > data application. > At present, I worked as a software architect in an APM software company. > > This email will introduce a log extension: > https://github.com/Neeke/SeasLog > > Why use SeasLog > > The log log, usually running record system or software, application. > Through the analysis of the log, users can easily understand the operation > system or application software, the application of log; if your rich > enough, can also analyze the operation behavior, the prior user > preferences, or other types of regional distribution of more information; > if an application's log also has multiple levels, so you can easily > analysis of the application of health status, the timely detection of > problems and rapid positioning, problem solving, remedy the loss. > > PHP built-in error_log, syslog function and excellent performance, but > because of various kinds of defects (error_log no errors, no fixed format, > syslog is not divided into modules, mixed with the system log), flexibility > is reduced a lot, can not meet the application requirements. > > The good news is, there are many third party log class library makes up > for the defects, such as log4php, plog, Analog (of course there are a lot > of their own application development in the project log class). Log4php is > the most famous, excellent design, perfect document format, perfect, > powerful. Recommend. (log4php performance needs to be tested). > > ======= So is there a log class library to meet the following requirements: > 1. Sub module, sub level > 2. Simple configuration (preferably without configuration) > 3. Log format is clear and easy to read > 4. Application of simple, great performance > SeasLog is the demand for that. > > ====== What are now offering > 1. In the PHP project, for convenient record log > 2. The default log directory and module configuration. > 3. Specify the log directory and get the current configuration > 4. Analysis of early warning framework preliminary > 5. Buffer debug efficient log buffer, convenient > > ====== What are the goals of > 1. Convenient, standardized log records > 2. Analysis of massive log efficient > 3. Log warning configurable, multi way > > ====== How to install SeasLog > > $ /path/to/phpize$ ./configure --with-php-config=/path/to/php-config$ make && > make install > > > ====== SeasLog.ini > > ; configuration for php SeasLog module > extension = seaslog.so > seaslog.default_basepath = /log/seaslog-test ;The default log root > directory > seaslog.default_logger = default ;The default logger name > seaslog.disting_type = 1 ;disting the file by type > 1yes 0no(default) > seaslog.disting_by_hour = 1 ;disting the file by hour > 1yes 0no(default) > seaslog.use_buffer = 1 ;use buffer 1yes 0no(default) > > > Brief details : http://neeke.github.io/SeasLog/ > > To the community to contribute my strength, has been my pursuit. > > For example in PHP : > seaslog('test info 2'); //info > seaslog('test warning 2', SEASLOG_TYPE_WARN); //warning > seaslog('test error 2', SEASLOG_TYPE_ERRO); //error > > Thank you. > (I have submitted account application to pecl.php.net. > Please review and approval, thank you very much.) > ======================== > mail: [email protected] > github: https://github.com/Neeke > > > > > > > 2014-07-07 14:30 GMT+08:00 Neeke Gao <[email protected]>: > > Hi Johannes,thanks for your comments,I have already finished a part of > amendments.Please >> review again. >> >> >> This is SeasLog: https://github.com/Neeke/SeasLog >> >> Do not usin a library. >> >> Licenses Apache 2.0. https://github.com/Neeke/SeasLog/blob/master/LICENSE >> >> >> Thx all , again. >> >> >> ------ >> >> Chitao Gao >> >> @neeke >> >> >> >> >> 2014-07-04 22:17 GMT+08:00 Ferenc Kovacs <[email protected]>: >> >> >>> >>> >>> On Mon, Apr 21, 2014 at 12:34 PM, Johannes Schlüter <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> On Thu, 2014-04-17 at 15:12 +0000, Chitao Gao wrote: >>>> > Hi dear. I want to adding a PECL extension: SeasLog,it's a better >>>> > logging extension. >>>> >>>> Can you share details on this? isit usin a library? which licenses? >>>> Maybe show some code? Thanks. >>>> >>>> > And want to maintaining the extension: swoole. Thanks. >>>> > >>>> > Sponsor: >>>> > Han Tianfeng >>>> >>>> Han, can you confirm this request? >>>> >>>> >>>> johannes >>>> >>>> >>>> -- >>>> PECL development discussion Mailing List (http://pecl.php.net/) >>>> To unsubscribe, visit: http://www.php.net/unsub.php >>>> >>>> >>> Hi, >>> >>> Johannes, did you ever receive a reply off-list? >>> If not I will close the account request for now. >>> >>> -- >>> Ferenc Kovács >>> @Tyr43l - http://tyrael.hu >>> >> >> >
