DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36384>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36384

           Summary: Configuring triggering/rolling policies should be
                    supported through properties
           Product: Log4j
           Version: 1.3alpha
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Configurator
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: [EMAIL PROTECTED]


While attempting to try the new RollingFileAppender I ran into problems where I
could not set the rollingPolicy/triggeringPolicy from a properties file.

I wasted quite a bit of time trying permutations and searching the web.

Later I found this link:
http://mail-archives.apache.org/mod_mbox/logging-log4j-user/200309.mbox/[EMAIL 
PROTECTED]

I believe that the following corrections should be made:

1) Properties should be fully supported.  Many people do not want to load and
run an XML parser just to read small 50 line config files.

2) Documentation should be clear on what is and is not supported.

3) It would help to have a tool/option/trace that would express the properties
and probably the XML attributes that are supported for particular component.

I turned on log4j.debug and got the less than helpful:

Failed to set property [triggeringPolicy] to value
"org.apache.log4j.rolling.TimeBasedRollingPolicy". 

and later

Please set a TriggeringPolicy for the RollingFileAppender named 'foo'

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to