Chobi_e is the author of the upcoming PECL Sundown package and contributor to other PHP projects involving logging and messaging. He discusses options for collecting log files in PHP applications, including using log file collectors like Fluentd which provide a robust and distributed logging solution. Chobi_e also introduces some Fluentd plugins he has created and potential other plugin ideas, and discusses setting up Fluentd logging in PHP applications.
11. using
reliable
and
distributed
log
collector:
Note:
fluent-‐logger-‐php
does
not
support
output
buffering.
So
local
fluentd
as
a
buffer
in
this
case.
12. using
reliable
and
distributed
log
collector:
that’s
the
best
soluLon
IMHO
Note:
fluent-‐logger-‐php
does
not
support
output
buffering.
So
local
fluentd
as
a
buffer
in
this
case.
26. what
is
Monolog?
Monolog
by
Seldaek.
h>ps://github.com/Seldaek/monolog
Monolog
is:
heavily
inspired
by
Python's
Logbook
library,
although
most
concepts
have
been
adjusted
to
fit
to
the
PHP
world.
34. updaLng
ssh
key
is
pain
in
ass.
/home/git/.ssh/authorized_keys
35. updaLng
SSH
Authorized
keys
only
pass
cooldowned
message.
send
public
key
client
web
server
fluentd
cooldown
exec
sending
message
via
fluentdLogger
redis
update
authorized_keys
obtain
ssh
public
keys
40. fluentd
protocol
support
✔
h>p
protocol
support
✔
composer
support
✔
PEAR
package
support
✔
-‐
but
I
don’t
provide
pear
channel.
message
pack
support
buffering
support
-‐
does
not
support
as
there’s
trouble
some
for
using
persistent
variables
for
buffer.