Log4cxx
  1. Log4cxx
  2. LOGCXX-106

maxFileSize has bad type in SizeBasedTriggeringPolicy file

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Appender
    • Labels:
      None
    • Environment:
      Linux

      Description

      in file sizebasedtriggeringpolicy.h at line 47
      //////////////
      As the documentation declared, maxFileSize should be size_t instead of long
      //////////////
      class LOG4CXX_EXPORT SizeBasedTriggeringPolicy : public TriggeringPolicy {
      DECLARE_LOG4CXX_OBJECT(SizeBasedTriggeringPolicy)
      BEGIN_LOG4CXX_CAST_MAP()
      LOG4CXX_CAST_ENTRY(SizeBasedTriggeringPolicy)
      LOG4CXX_CAST_ENTRY_CHAIN(TriggeringPolicy)
      END_LOG4CXX_CAST_MAP()

      protected:
      long maxFileSize;
      //////////////

        Activity

          People

          • Assignee:
            Curt Arnold
            Reporter:
            Alban Seurat
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development