• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Log File !

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JForum should log IMO everything in it's own log file.
At the moment that's not how it works: not with 2.0.2, and not with 2.1beta.
Even more, the log files should use a date suffix if they exceed a specific size, an to write to anoter file. All these features come from log4j, so one needs just to confiture it.
IMHO however, these features should be coufigured "out of the box" - by default - to work as the are .

John.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, just configure WEB-INF/log4j.xml, which somes with jforum since the first beta ;)

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Well, just configure WEB-INF/log4j.xml, which somes with jforum since the first beta ;)


Yes, I know it. I was talking about "out of the box".
At the moment the log4j.xml contains something like:
I suppose only on few installations this will work as it its .
IMHO, using no absolute paths would be better , since is usual that logs go in tomcat/logs ("appserver"/logs).

Thanks in advance,

John.
[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I agree.. this "feature" of log4j is a fuck. However, changing it will add extra complexity and effor that I'm not able to do on this logging stuff. We can add some information on the docs tough.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
This tiny ad is guaranteed to be gluten free.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic