You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
logging handler yields 'record' as string instead of map #34
Example using 'event' directly, which works correctly:
from fluent import sender
from fluent import event
sender.setup('app')
event.Event('follow', {
'message': 'this is a test',
})
2015-04-10 22:15:07 +0000 [info]: on_read_msgpack:
00000000 93 aa 61 70 70 2e 66 6f 6c 6c 6f 77 ce 55 28 4b |..app.follow.U(K|
00000010 6b 81 a7 6d 65 73 73 61 67 65 ae 74 68 69 73 20 |k..message.this |
00000020 69 73 20 61 20 74 65 73 74 |is a test|
2015-04-10 22:15:07 +0000 [info]: on_message: msg=["app.follow", 1428704107, {"message"=>"this is a test"}] chunk_size=41 source="host: 127.0.0.1, addr: 127.0.0.1, port: 49306"
2015-04-10 22:15:07 +0000 [info]: record_class=Hash
Some output plugins do not care about the type of 'record' so this may appear to work, but there are other plugins that discard the record or have other issues if it is not a hash.
Activity
EvaSDK commentedon May 27, 2015
This was broken by commit 66ea812 and PR #18 & PR #31 should fix the README.
EvaSDK commentedon Jun 17, 2015
This should be fixed in v0.4.0.