HBase
  1. HBase
  2. HBASE-5756

we can change defalult File Appender to RFA instead of DRFA.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This can be a point of concern when on a certain day the logging happens more because of more and more activity. In that case the log file for that day can grow huge. These logs can not be opened for analysis since size is more.

        Activity

        Hide
        stack added a comment -

        Its not clear what you are asking for Rohit. Does this recent commit to TRUNK give you what you want? HBASE-5655

        Show
        stack added a comment - Its not clear what you are asking for Rohit. Does this recent commit to TRUNK give you what you want? HBASE-5655
        Hide
        Rohith added a comment -

        @stack
        sorry if I am not clear.
        The problem I wanted to explain is same as HBASE-5655.

        Does this recent commit to TRUNK give you what you want? HBASE-5655

        yes, this commit gives exactly what I wanted. My opinion is to fix this in all the branches.

        Show
        Rohith added a comment - @stack sorry if I am not clear. The problem I wanted to explain is same as HBASE-5655 . Does this recent commit to TRUNK give you what you want? HBASE-5655 yes, this commit gives exactly what I wanted. My opinion is to fix this in all the branches.
        Hide
        stack added a comment -

        You will have to convince Lars to apply hbase-5655 to trunk. Its too late to do it for 0.92 I'd say.

        Show
        stack added a comment - You will have to convince Lars to apply hbase-5655 to trunk. Its too late to do it for 0.92 I'd say.
        Hide
        stack added a comment -

        You will have to convince Lars to apply hbase-5655 to trunk. Its too late to do it for 0.92 I'd say.

        Show
        stack added a comment - You will have to convince Lars to apply hbase-5655 to trunk. Its too late to do it for 0.92 I'd say.
        Hide
        Lars Hofhansl added a comment -

        Anybody can still change the log4j.properties to get the desired behavior. I see no need to put into 0.94.

        That said, the change in HBASE-5655 is simple, if you believe strongly I'll put it into 0.94.

        Show
        Lars Hofhansl added a comment - Anybody can still change the log4j.properties to get the desired behavior. I see no need to put into 0.94. That said, the change in HBASE-5655 is simple, if you believe strongly I'll put it into 0.94.
        Hide
        Rohith added a comment -

        @Lars
        >>Anybody can still change the log4j.properties to get the desired behavior
        I agree wih you.

        In 90,92 and 94 branches doen't contains RFA properties.I suggest is we provide the RFA properties in log4j.properties.And let user configure his desired logging behavior accordingly.

        Show
        Rohith added a comment - @Lars >>Anybody can still change the log4j.properties to get the desired behavior I agree wih you. In 90,92 and 94 branches doen't contains RFA properties.I suggest is we provide the RFA properties in log4j.properties.And let user configure his desired logging behavior accordingly.
        Hide
        stack added a comment -

        I would not hold up a release for this. Rohit, if you want to make a patch for the other branches, that would be welcome. Sounds like you might make an entry for the reference guide too.... A note on keeping a cap on growing logs?

        Show
        stack added a comment - I would not hold up a release for this. Rohit, if you want to make a patch for the other branches, that would be welcome. Sounds like you might make an entry for the reference guide too.... A note on keeping a cap on growing logs?
        Hide
        Rohith added a comment -

        @stack
        Thank you stack I will give patch that includes RFA properties for this for 90,92 and 94 branches. I will make an entry to reference guide too.

        What about the default behavior,is RFA or DRFA.?

        Show
        Rohith added a comment - @stack Thank you stack I will give patch that includes RFA properties for this for 90,92 and 94 branches. I will make an entry to reference guide too. What about the default behavior,is RFA or DRFA.?
        Hide
        stack added a comment -

        Default is DRFA in 0.94 and before. RFA after (0.96)

        Show
        stack added a comment - Default is DRFA in 0.94 and before. RFA after (0.96)

          People

          • Assignee:
            Unassigned
            Reporter:
            Rohith
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development