• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Log4j appender causing problems?

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
This tiny ad will self destruct in five seconds.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic