Hallo
I use the logging mechanism from
java, and I must admit it is preaty god. I have just a small problem, my application is a client server application and I find useful to get the log from the both layers (client and server) on the same location.In the other words for the client and the server the log files must be saved on the same location (by example on the server side in two different logs).
The Logger class is not serializable - so I can not just sent the log from the client to the server, so for this I think I need a special Haldler (or better a StreamHandler) that get the messages from the Logger ,transport them and at the end use the register Formater to format the log output.
My questions are :
1. I was right in my log speculations ?
2. If the 1 is correct then there are some already implemented class/solutions for this ?
3. There are also other solution for this problem ?