logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Kolotyluk" <eric.koloty...@kodak.com>
Subject RE: fixedWindowRollingPolicy.setFileNamePattern
Date Wed, 09 Jul 2008 15:06:50 GMT
OK, here's what I get when I try to build the extras.

Cheers, Eric

[C:\Program Files\Apache\apache-log4j-extras-1.0]ant
Buildfile: build.xml

init:

compile:
    [javac] Compiling 83 source files to C:\Program
Files\Apache\apache-log4j-extras-1.0\target\classes
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\Enha
ncedPatternLayout.java:20: cannot find symbol
    [javac] symbol  : class OptionConverter
    [javac] location: package org.apache.log4j.helpers
    [javac] import org.apache.log4j.helpers.OptionConverter;
    [javac]                                 ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\Enha
ncedPatternLayout.java:21: cannot find symbol
    [javac] symbol  : class PatternConverter
    [javac] location: package org.apache.log4j.helpers
    [javac] import org.apache.log4j.helpers.PatternConverter;
    [javac]                                 ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\Enha
ncedPatternLayout.java:23: cannot find symbol
    [javac] symbol  : class LoggingEvent
    [javac] location: package org.apache.log4j.spi
    [javac] import org.apache.log4j.spi.LoggingEvent;
    [javac]                             ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\Enha
ncedPatternLayout.java:407: cannot find symbol
    [javac] symbol: class Layout
    [javac] public class EnhancedPatternLayout extends Layout {
    [javac]                                            ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\Enha
ncedPatternLayout.java:440: cannot find symbol
    [javac] symbol  : class PatternConverter
    [javac] location: class org.apache.log4j.EnhancedPatternLayout
    [javac]   private PatternConverter head;
    [javac]           ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\Enha
ncedPatternLayout.java:510: cannot find symbol
    [javac] symbol  : class PatternParser
    [javac] location: package org.apache.log4j.helpers
    [javac]     protected org.apache.log4j.helpers.PatternParser
createPatternParser(String pattern) {
    [javac]                                       ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\Enha
ncedPatternLayout.java:528: cannot find symbol
    [javac] symbol  : class LoggingEvent
    [javac] location: class org.apache.log4j.EnhancedPatternLayout
    [javac]   public String format(final LoggingEvent event) {
    [javac]                              ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:19: cannot find symbol
    [javac] symbol  : class LoggingEvent
    [javac] location: package org.apache.log4j.spi
    [javac] import org.apache.log4j.spi.LoggingEvent;
    [javac]                             ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:37: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]     private static final Level TRACE = new Level(5000,
"TRACE", 7);
    [javac]                          ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:318: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     private static void forcedLog(final Logger logger,
    [javac]                                         ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:319: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                                   final Level level,
    [javac]                                         ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:332: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     private static void forcedLog(final Logger logger,
    [javac]                                         ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:333: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                                   final Level level,
    [javac]                                         ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:345: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:358: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:371: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:384: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:397: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void error(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:410: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void fatal(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:425: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:441: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:457: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:473: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:489: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void error(final Logger logger,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:505: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void fatal(final Logger logger,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:522: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:535: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:548: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:561: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:574: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:587: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:600: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:613: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:626: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:640: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:656: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:673: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void trace(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:688: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:701: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:714: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:727: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:740: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:753: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:766: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:779: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:792: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:806: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:822: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:839: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void debug(final Logger logger, final
String pattern,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:854: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:867: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:880: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:893: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:906: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:919: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:932: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:945: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:958: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:972: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:987: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1004: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void info(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1019: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1032: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1045: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1058: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1071: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1084: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1097: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1110: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1123: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1137: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1153: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1170: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void warn(final Logger logger, final
String pattern,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1186: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1187: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1204: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1205: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1222: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1223: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1239: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1240: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1257: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1258: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1275: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1276: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1292: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1293: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1309: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1310: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1327: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1328: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1345: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1346: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1363: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1364: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                              final Level level,
    [javac]                                    ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1382: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1383: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                             final Level level,
    [javac]                                   ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1401: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1402: cannot find symbol
    [javac] symbol  : class Level
    [javac] location: class org.apache.log4j.LogMF
    [javac]                            final Level level,
    [javac]                                  ^
    [javac] C:\Program
Files\Apache\apache-log4j-extras-1.0\src\main\java\org\apache\log4j\LogM
F.java:1421: cannot find symbol
    [javac] symbol  : class Logger
    [javac] location: class org.apache.log4j.LogMF
    [javac]     public static void log(final Logger logger,
    [javac]                                  ^
    [javac] 100 errors

BUILD FAILED
C:\Program Files\Apache\apache-log4j-extras-1.0\build.xml:76: Compile
failed; see the compiler error output for details.

Total time: 2 seconds




-----Original Message-----
From: Jacob Kjome [mailto:hoju@visi.com] 
Sent: Tuesday, July 08, 2008 10:31 PM
To: Log4J Users List
Subject: Re: fixedWindowRollingPolicy.setFileNamePattern

Ok, well, I checked it out and used Maven 2.0.9 to build.  I just typed
"mvn
install".  It ran all tests and built the binary in 2 minutes.  What
problem did
you have?  Are you missing repositories in your
${user.home}/.m2/settings.xml?

Jake

Jacob Kjome wrote:
> There is a plan to release it.  I think it's been waiting on Chainsaw
2 (or
> vice-versa).  The extras are meant to work with Log4j 1.2.  Haven't
tried to build
> it in a quite a while.  I might have a crack at it tonight.
> 
> Jake
> 
> 
> Eric Kolotyluk wrote:
>> Well, that was a good try
>>
>> The extras do not come with a jar file and trying to build the
>> distribution fails.
>>
>> I would prefer it if someone would just add this functionality to the
>> 1.2 stream, at least that's a properly maintained release.
>>
>> - Eric
>>
>> -----Original Message-----
>> From: Jacob Kjome [mailto:hoju@visi.com] 
>> Sent: Tuesday, July 08, 2008 8:29 AM
>> To: Log4J Users List
>> Subject: Re: fixedWindowRollingPolicy.setFileNamePattern
>>
>> See the rolling package in the Log4j "extras" companion...
>>
>> http://logging.apache.org/log4j/companions/extras/index.html
>>
>> Jake
>>
>>
>> On Tue, 8 Jul 2008 08:04:49 -0700
>>   "Eric Kolotyluk" <eric.kolotyluk@kodak.com> wrote:
>>> One of the nice features I like in log4j 1.3 is
>>> FixedWindowRollingPolicy#setFileNamePattern();
>>>
>>> The log4j default rolling pattern looks like mylog.log1, mylog.log2,
>> ...
>>> This makes it difficult for desktops to associate the file-type with
>>> application used for opening the log file for viewing so I like to
use
>>>
>>> FixedWindowRollingPolicy fixedWindowRollingPolicy = new
>>> FixedWindowRollingPolicy();
>>> fixedWindowRollingPolicy.setFileNamePattern("mylog%i.log");
>>> fixedWindowRollingPolicy.setMaxIndex(9);
>>> fixedWindowRollingPolicy.setMinIndex(0);
>>>
>>> This way I only have to associate the file suffix '.log' once, with
my
>>> favorite log file editor, and not for each of '.log1' '.log2' etc.
>>>
>>> It would be really nice to do this in log4j 1.2. Are there any plans
>> to
>>> add this to the 1.2 stream?
>>>
>>> Cheers, Eric
>>>
>>>
---------------------------------------------------------------------
>>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message