
Spinner
Novice
Nov 9, 2012, 2:17 AM
Post #1 of 3
(4097 views)
|
|
Log4Perl - many servers logging to one log-server
|
Can't Post
|
|
I have the following challenge: My system uses a number of backend-webservers and a few non-web-servers. I would like for them all to log certain actions to a common log that lies on a log-server. I would very much like the log to look like: TIMESTAMP FROM-HOSTNAME LOGSTRING but I can ofc insert the hostname in each logstring myself if need be. I have used Log4Perl for years, but I know of no way to make them all use a common log-server to store the data. I AM aware of logging to a socket, but I guess I would need to write a server myself that deals with incoming requests on a certain port, and I was hoping Log4Perl would be able to do this automatically for me. So, can it? Is there another log-package I should be looking at more suited for doing this? How do you solve your needs to keep a common log from multiple servers without storing the data in a database? With hopes of response. - Spinner
|