Results 1 to 4 of 4
Thread: loggig - config file
- 03-29-2011, 06:03 AM #1
Member
- Join Date
- Sep 2010
- Posts
- 21
- Rep Power
- 0
loggig - config file
Hello everybody,
I have a logging config file but i dont know how to use it. I put the code of it in a separete property file and named it mylogging.property. All i want is to get the logs of the file when i run the project. I read something like this:
but i cant understand how to do this practically.Java Code:run.args.extra=-J-Djava.util.logging.config.file="mylogging.properties"
Thanx in advance!Last edited by jlmp; 03-29-2011 at 07:09 AM.
- 03-29-2011, 08:32 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
What logging framework is it?
There are several, each with a different set up.
- 03-29-2011, 08:45 AM #3
Member
- Join Date
- Sep 2010
- Posts
- 21
- Rep Power
- 0
org.teleal.cling
it is supposed that i have to get specific errors (FINEST, FINER) from specific classes but i only get the messages that jul wants... :S
- 03-29-2011, 10:56 AM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Similar Threads
-
IBatis config in a distributed jar
By Drun in forum JDBCReplies: 1Last Post: 09-13-2010, 04:48 PM -
JSF 2.0 faces.config.xml problem
By manimca1984@gmail.com in forum JavaServer Faces (JSF)Replies: 0Last Post: 02-10-2010, 07:58 AM -
question about struts-config.xml
By christina in forum Web FrameworksReplies: 2Last Post: 02-15-2008, 10:45 AM -
struts-config.xml
By Heather in forum Web FrameworksReplies: 2Last Post: 01-17-2008, 11:23 AM -
reading values from config file
By sathish_2111 in forum Enterprise JavaBeans (EJB)Replies: 3Last Post: 08-10-2007, 03:09 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks