File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
Filter options
Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ Revision history for Fluent::Logger
2
2
3
3
{{$NEXT}}
4
4
5
+ 0.21 2017-03-23T01:33:19Z
6
+ * Call buffer_overflow_handler at close() (#21 yoheimuta)
7
+
5
8
0.20 2017-03-01T04:36:41Z
6
9
* Fix tests only which broken with Fluentd 0.14 (#20 #21)
7
10
Original file line number Diff line number Diff line change 72
72
"web" : " https://github.com/fluent/fluent-logger-perl"
73
73
}
74
74
},
75
- "version" : " 0.20 " ,
75
+ "version" : " 0.21 " ,
76
76
"x_contributors" : [
77
77
" HIROSE Masaaki <hirose31@gmail.com>" ,
78
78
" Shinichiro Sei <sei@kayac.com>" ,
87
87
" Masahiro Nakagawa <repeatedly@gmail.com>" ,
88
88
" Tatsuhiko Miyagawa <miyagawa@bulknews.net>" ,
89
89
" Tokuhiro Matsuno <tokuhirom@gmail.com>" ,
90
+ " yoheimuta <yoheimuta@gmail.com>" ,
90
91
" FUJIWARA Shunichiro <fujiwara.shunichiro@gmail.com>"
91
92
],
92
93
"x_serialization_backend" : " JSON::PP version 2.27300"
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ Fluent::Logger is a structured event logger for Fluent.
51
51
This will mitigate the loss of data instead of simply throwing data away.
52
52
53
53
Your proc should accept a single argument, which will be the internal buffer of messages from the logger.
54
+ This coderef is also called when logger.close() failed to flush the remaining internal buffer of messages.
54
55
A typical use-case for this would be writing to disk or possibly writing to Redis.
55
56
56
57
- truncate\_ buffer\_ at\_ overflow
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ package Fluent::Logger;
4
4
use strict;
5
5
use warnings;
6
6
7
- our $VERSION = ' 0.20 ' ;
7
+ our $VERSION = ' 0.21 ' ;
8
8
9
9
use IO::Socket::INET;
10
10
use IO::Socket::UNIX;
You can’t perform that action at this time.
0 commit comments