Hi Andreas.. Thanks for your help... But what you wrote about running JVM with [1] was not lucky.. I use .level=FINEST and .level=ERROR with no luck... Messages keep appearing...
As i wrote I found the line in the code that was producing this info to console, I comment it and build source with ant as you wrote.. And now it works... It doesn't appear the info loggin to console... 2009/11/2 Andreas Lehmkühler <andr...@lehmi.de> > Hi, > > > > Omar Chiyean wrote: > >> Hi there... >> A weeks ago, I make some questions, and changed to pdfbox 0.8.0 (thanks >> Andreas >> for your valious help). I use it to extract text, but this version throws >> a >> lot of info logging >> messages that i don't want to get, because it'll be a part of my >> application.. >> >> I have tried to change loggin.properties, or work with the logger class, >> with no >> luck. Messages keep appearing. >> > Do you start ExtractText with [1] as JVM parameter? > Is the properties file on your path? > Do you adjust the ".level" value in logging-properties, e.g. like that > > .level=ERROR > > [1] -Djava.util.logging.config.file=logging.properties > > > I found the line in the code that makes this annoying messages (for me). >> Is in the org.apache.pdfbox.util.PDFStreamEngine class. >> >> I comment this line but i can't build again nor compile this class again >> to replace it in my class distribution... >> >> Can some one help, to get rid of this or to build the package?? >> > That should be easy by using ant. Just make your changes to the source an > run "ant compile" or just "ant" in the pdfbox main folder. Of course you > have to add the modifed classes to your path/jar. > > > BR > Andreas Lehmkühler >