Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging - how to read a different properties file  RSS feed

 
Wes Hughes
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm just starting to use the logging API and I have two questions:
1) How can I get it to read the properties in my classes directory (with all other properties files) and not the one in JAVA_HOME/jre/lib?
2) I'm running this as a webapp and I'd like to be able to specify the location that the files are logged to within my webapp. I see that it can be set in the props file but that doesn't seem to do me any good.
Thx.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!