Problem with Logger based on class instance!!!
I have a problem with the Java logger. In a class I am creating a non static logger and I am trying to attach a FileHandler to it which will create a new file in which I write the logging messages. For every instance of that class I am creating a new filehandler but logging is not done as intended based on class instance. I mean I find log of other class instances in the same File.I am creating log file with a particular ID which we assigned to clients and after creating that I am writing log of that instance of class to that file but I find log of other instances also in that log file(from other clients). Some one please help me
1) Are you using loggin API in java.util?
2) Posting some code will be helpful
By none_none in forum Java
Last Post: 04-28-2005, 04:00 PM
By RealGuru in forum .NET
Last Post: 09-19-2002, 03:31 AM
By Thomas Eyde in forum .NET
Last Post: 02-24-2002, 04:04 PM
By Patrick Ireland in forum .NET
Last Post: 05-10-2001, 07:19 PM
Last Post: 09-06-2000, 02:13 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL