[LOGBack-dev] [Bug 7] New: file and activeFileName params in config

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Fri Sep 15 14:26:56 CEST 2006


http://bugzilla.qos.ch/show_bug.cgi?id=7

           Summary: file and activeFileName params in config
           Product: logback-core
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Rolling
        AssignedTo: logback-dev at qos.ch
        ReportedBy: noreply.sebastien at qos.ch


In FileAppender, there is a settable "file" attribute. In RollingPolicyBase,
there is an activeFileName attribute. Both serve the same point: set a name for
the file where the logging will take place.

We should propose only one way of specifying this. Maybe suppressing the
activeFileName from the RollingPolicyBase class and using the "file" attribute
instead.

This bug doesn't affect the normal use of logback in a major way. One can still
use the rolling functions by specifying the activeFileName attribute. The
"file" attribute is ignored in that case. The contrary is not true: if the
"file" attribute is specified and no activeFileName is set, the rolling policy
will not be able to work correctly.


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



More information about the logback-dev mailing list