• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting log4j appender settings to set

 
peli rojo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all.
I've implemented a log4j Appender, and everything works except when i try to set the options via the config file they all seem to be null.

example config:

log4j.appender.myAppender=MyAppender
log4j.appender.myAppender.user = daniel
log4j.rootLogger=DEBUG, myAppender

In this case "user" is still null (ive also tried using .User and "daniel" as the value)
any ideas why?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!