Xen wrote:
I want something that can write to a file without having to configure it in syslog.
At some point you'll have to explain why write() doesn't suffice for that :-)
If every application writes its own logging framework, that's a lot of wasted effort. Apparently you want me to start exploring the source of e.g. squid to see how it does it. I would think people would know about these answers.
I gave you a dozen examples of programs you could examine. Yes, if I'm going to create a complicated application, certainly I will examine code examples I may reuse!
Well okay. But the reason for me asking was to discover whether that be necessary to begin with.
See if you use log4j, there is no need for you to do anything.
You can use it to log synchronously, asynchronously, to any database, to a syslog server, in any format you want, etc. etc. etc. But you understand.
Your question could perhaps have been better written as "is there a non-java equivalent of log4j?" -- Per Jessen, Zürich (9.1°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org