Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2008

Tip: Looking for answers? Try searching our database.

Log4j teeny tiny but annoying problem

Thread view: 
gwoodhouse@gmail.com - 29 Feb 2008 10:46 GMT
Hello,

I know this doesnt effect how my code works or stops me doing anything
in any way but in my logs im getting:
"log4j:WARN No such property [datePattern] in
org.apache.log4j.ConsoleAppender."

in my log4j.properties file i have:
"log4j.appender.Console.DatePattern='.'yyyy-MMM-dd"

with
"log4j.rootLogger = WARN, Console"

Can anyone tell me WHY this annoying little message won't leave me
alone?

Big thanks to anyone who can swap this mosquito of a problem for me.

Graeme
GArlington - 29 Feb 2008 11:24 GMT
On Feb 29, 10:46 am, "gwoodho...@gmail.com" <gwoodho...@gmail.com>
wrote:
> Hello,
>
[quoted text clipped - 15 lines]
>
> Graeme

Maybe
    No such property [datePattern]
and
log4j.appender.Console.DatePattern=...
See any difference?
gwoodhouse@gmail.com - 03 Mar 2008 08:19 GMT
> On Feb 29, 10:46 am, "gwoodho...@gmail.com" <gwoodho...@gmail.com>
> wrote:
[quoted text clipped - 24 lines]
> log4j.appender.Console.DatePattern=...
> See any difference?

Thanks G, But no - that isnt the problem. I already tried that
thinking it could be the problem.
voorth - 29 Feb 2008 14:55 GMT
On Feb 29, 11:46 am, "gwoodho...@gmail.com" <gwoodho...@gmail.com>
wrote:
> Hello,
>
[quoted text clipped - 11 lines]
> Can anyone tell me WHY this annoying little message won't leave me
> alone?

DatePattern is specific to DailyRollingFileAppender.
Did you change your appender type?
gwoodhouse@gmail.com - 03 Mar 2008 08:19 GMT
> On Feb 29, 11:46 am, "gwoodho...@gmail.com" <gwoodho...@gmail.com>
> wrote:
[quoted text clipped - 17 lines]
> DatePattern is specific to DailyRollingFileAppender.
> Did you change your appender type?

Yes i did, i did yank this off the server which uses
DailyRollingFileAppender. Is there a setting hiding somewhere i missed?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.