XMLWordPrintable

Details

    Description

      The "paths" section should allow expressions for "path" elements

      Rationale is the fact that customers often want the log files to be send to another directory "outside" of the JBoss directory.

      <periodic-rotating-file-handler name="FILE">
      ...
      <file relative-to="jboss.server.log.dir" path="server.log"/>

      You can change the above and hardcode to : <file path="/logs/jboss/server.log"/>
      but that means that as soon as you have two servers on the same machine, using the same profile, they will write to a single logfile.

      The "file"s "path" attribute does not allow expressions; this RFE is however not for this attribute.

      As relative-to="jboss.server.log.dir" can use self-defined names paths, we looked at the "paths" section.

      <paths>
      <path name="my.log" path="/logs/jboss/${my.system.propery}"/>
      </paths>

      but as it turns out, the "path" attribute of the "path" tag also does not allow expressions, and the above entry fails.

      Hence: please allow the "path" attribute of the "path" tag to allow expressions so that the above "paths" example works.

      Note that we consider this "Major" as customer do/want this functionality often.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            tfonteyn Tom Fonteyne (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: