mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[PR #63] [MERGED] SocketHandler implementation using fsockopen() #912
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#912
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Seldaek/monolog/pull/63
Author: @pablolb
Created: 2/26/2012
Status: ✅ Merged
Merged: 4/22/2012
Merged by: @Seldaek
Base:
master← Head:master📝 Commits (10+)
486cbb7Initial versiond75e0b7Add some documentation423cfebAdd license header and move @author to phpdocd752f43Remove Socket, PeristentSocket and MockSocket classesff287b9Fix docs9f5681fadd licensce and move @author to phpdoccc9c022Fix doc/sockets.md722cabcRemove old SocketTest. Fix CS issues83e1e2dImprove tests on SocketHandlerbee3e1bRemove SocketHandler's ConnecitonException and WriteToSocketException - replace them with \UnexpectedValueException and \RuntimeException respectively📊 Changes
4 files changed (+597 additions, -0 deletions)
View changed files
📝
README.mdown(+1 -0)➕
doc/sockets.md(+37 -0)➕
src/Monolog/Handler/SocketHandler.php(+274 -0)➕
tests/Monolog/Handler/SocketHandlerTest.php(+285 -0)📄 Description
Hi,
This implementation uses fsockopen() allowing you to log to UNIX and TCP sockets - I've written a small document here:
https://github.com/pablolb/monolog/blob/master/doc/sockets.md
I've played a bit with it using a simple TCP server and replicating a production environment (2 webs writing logs to one syslog-ng server) - I hope I can test it in production this week.
Any comments are appreciated.
Best regards,
Pablo
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.