• Post Reply Bookmark Topic Watch Topic
  • New Topic

Log4j appender causing problems?

 
Rick Demeter
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I'm very new to Java and I have searched the web extensively for a site that could help me along the path to Java mastery (or at least usability), and this one seems like the best bet.

On to the problem:
I'm having trouble with a program's Log4j initialization, as in, the appenders won't initialize properly. Could this cause a nio.bufferunderflow exception?

Thank you,

Rick

If this is the problem I will post more, as I'm unsure which forum would be the appropriate forum for asking about problems with the nio.bufferunderflowexception. Also if any additional information is needed please ask and I will gladly provide it.
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch.
Exactly what problems are you having with Log4j initialization? Did you write your own appender? Is the bufferunderflow taking place in the appender or other code?
 
Rick Demeter
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It just won't initialize properly. I didn't write the appenders. The underflow is occurring after I try to load a file into the program. Like I said, I am really green to all this. I'm just trying to figure out where to start. Either with log4j and fixing the appenders or within the main beast beast of the program. Whoever wrote it it way ahead of me in terms of Java knowledge. I feel like a caveman trying to figure out how to build a lawnmower, but at least this caveman has a lowermower to use as an example.

Thanks for taking the time to respond.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!