Log4cxx
  1. Log4cxx
  2. LOGCXX-126

std::cout stops working if log4cxx is first to output

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Appender
    • Labels:
      None
    • Environment:
      Linux (RedHat FC4) x86_64, g++ 4.0.2 20051125 (Red Hat 4.0.2-8)

      Description

      If log4cxx is the first to write output via the ConsoleAppender, then std::cout (and stdout) doesn't work. If, on the other hand, std::cout is written to before log4cxx kicks in, then they both (std::cout and log4cxx) work. I will attach a small test program that illustrates the problem.

      1. triv.cpp
        0.4 kB
        Donovan Kolbly
      2. output.cpp
        1 kB
        Andreas Fester

        Activity

          People

          • Assignee:
            Curt Arnold
            Reporter:
            Donovan Kolbly
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development