What is the maximum width of lines printed to a file?

2001-08-02 Thread Tony
Hi I am using log4j.jar and want to know what the maximum number of characters is which can be written to a log file. At the moment my messages are being truncated. If it is a value which can be set, how do I set it? Cheers Tony __ Do You Ya

Re: FQCN Category.log() question

2001-08-02 Thread Don Taylor
I think what you want to do is this: Category.getInstance(callerFQCN).log(priority, message, t); The problem with your approach is you're always working with the root category, which isn't what you want. -- Don --- Scot Hale <[EMAIL PROTECTED]> wrote: > I currently converted the logging in my

Re: Problem with log4j not finding config file in WEB-INF/classes

2001-08-02 Thread Tony
Thanks for the help folks this did the trick. I had log4j.jar in my TomCat path. But another question, If I have many web apps, and they all want to use log4j I have to include the log4j.jar file in each of these packages. Isnt this a waste of space, and an upgrade problem in the case when a n

Problem with log4j not finding config file in WEB-INF/classes

2001-08-02 Thread Tony
Hi Folks I need a little help. I am running tomcat and have a servlet which uses the log4j library. I have placed the configuration file log4j.properties --(0) for log4j in the WEB-INF/classes --(1) directory of my application, but when I call PropertyConfigurator.configur