-
Problem with Logger based on class instance!!!
Hi All,
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
Regards,
Mohit
Similar Threads
-
By none_none in forum Java
Replies: 17
Last Post: 04-28-2005, 03:00 PM
-
By RealGuru in forum .NET
Replies: 4
Last Post: 09-19-2002, 02:31 AM
-
By Thomas Eyde in forum .NET
Replies: 10
Last Post: 02-24-2002, 03:04 PM
-
By Patrick Ireland in forum .NET
Replies: 5
Last Post: 05-10-2001, 06:19 PM
-
Replies: 1
Last Post: 09-06-2000, 01:13 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks