Skip to content
Snippets Groups Projects
  1. Apr 18, 2024
    • Eric Müller's avatar
      fix: build failed on log4cxx@1.2.0 · 73dadb3c
      Eric Müller authored and Jakob Kaiser's avatar Jakob Kaiser committed
      In-Container: /containers/testing/c22523p4_2024-04-17_1.img
      
      Change-Id: I1d7d0db49fe1fc09fa3b5828d86c72afd500dbd9
      73dadb3c
    • Philipp Spilger's avatar
      feat: Adapt to log4cxx 1.1.0 · a47b13ef
      Philipp Spilger authored and Jakob Kaiser's avatar Jakob Kaiser committed
      BREAKING_CHANGE: ColorLayout is removed in favor of using
        PatternLayout from upstream.
        Color scheme used is default of upstream (-> less deviation)
        Custom overwrite of Logger in logger.h is removed.
      
      Depends-On: 22601
      In-Container: /containers/testing/c22523p4_2024-04-17_1.img
      
      Change-Id: I26ed217040bdecb7fa74263fea67aab189d0ecb3
      a47b13ef
  2. Sep 22, 2023
  3. Sep 15, 2023
    • Eric Müller's avatar
      chore: Drop some LevelPtr members · 8ce9f104
      Eric Müller authored
      We keep global LevelPtr members in the pylogging TU which is ugly,
      and might become a problem given that log4cxx also keeps a static global
      version of those.
      
      Change-Id: Ife7527da5a13be23478a4e7c9d91f9311c77a9c8
      2 tags
      8ce9f104
  4. Feb 22, 2023
  5. Nov 28, 2022
    • Eric Müller's avatar
      Fixes for new log4cxx · 87c2b335
      Eric Müller authored
      Depends-On: topic:update_log4cxx, topic:spack_0.18.1
      In-Container: /containers/testing/c17764p47_2022-11-26_1.img
      Change-Id: I57bb4c789f81658628609ff155a2982ab9fe5f9f
      ebrains-4.0-a4
      87c2b335
  6. Mar 16, 2022
  7. Nov 19, 2021
    • Eric Müller's avatar
      Reduce symbols (pyembed → pyext) · ca456997
      Eric Müller authored
      Also drops superfluous extra target (simplifies transitive linkage as we
      now have missing symbols in the shared librarie(s)).
      
      Change-Id: I24721aa557e146827c1d89c819dc5f0781df413b
      2 tags
      ca456997
  8. Oct 12, 2021
  9. Sep 08, 2020
    • Oliver Breitwieser's avatar
      Add log4cxx_level_v2 · bc006238
      Oliver Breitwieser authored
      Fixed version of log4cxx_level that maps loglevels to their actual
      counter-parts in log4cxx without inverting the order.
      
      Notice that the loglevels in log4cxx are defined as follows in
      include/log4cxx/level.h:
      
      ```cpp
      enum {
          OFF_INT = INT_MAX,
          FATAL_INT = 50000,
          ERROR_INT = 40000,
          WARN_INT = 30000,
          INFO_INT = 20000,
          DEBUG_INT = 10000,
          TRACE_INT = 5000,
          ALL_INT = INT_MIN
      };
      ```
      For our intents and purposes it hence suffices to divide everything by
      10000 to get a mapping that mirrors our current waf setup:
      
      TRACE   -> 0
      DEBUG   -> 1
      INFO    -> 2
      WARNING -> 3
      ERROR   -> 4
      FATAL   -> 5
      
      This mirrors our current loglevel set-up in at least fisch, hxcomm and
      lib-rcf, allowing us to write:
      ```cpp
      logger_default_config(Logger::log4cxx_level_v2(HXCOMM_LOG_THRESHOLD));
      ```
      
      NOTE: In order to not break any possibly existing dependencies this
      function was introduced with the `_v2` suffix. Pending the complete
      rewrite and streamlining of the logging library that is properly
      namespaced, both functions should be merged once again.
      
      Change-Id: Ic3565864a14288289972159e70d2bcf0a4b81c02
      bc006238
    • Oliver Breitwieser's avatar
      clang-format logger.h · 7ab20bb1
      Oliver Breitwieser authored and Eric Müller's avatar Eric Müller committed
      Change-Id: I72bf37d24d010f57fd7238b42e4c568ba4fc388a
      7ab20bb1
  10. Aug 14, 2020
  11. Jun 15, 2020
  12. Jun 07, 2020
  13. Mar 23, 2020
  14. Nov 27, 2019
  15. Jul 02, 2019
  16. Nov 17, 2017
  17. Jul 04, 2017
  18. May 18, 2017
    • Eric Müller's avatar
      Fix (work around) segmentation fault in logger for OpenMP · 094a4578
      Eric Müller authored and Sebastian Schmitt's avatar Sebastian Schmitt committed
      When spawning multiple threads (OpenMP) for hicann-system, the old usage
      of the logger yields a segmentation fault at the end of the execution.
      This is triggered by multiple destructions of the last logger's Message
      object. This commit works around by avoiding the last call to ~Message.
      Caveat: It's ugly and the last logger message will be lost.
      
      Change-Id: I3ba890e78791c64840b8a00369e5ce3a76e48543
      094a4578
  19. May 10, 2017
  20. Jan 30, 2017
  21. Jan 27, 2017
  22. Sep 29, 2016
  23. Jul 15, 2016
  24. Jul 12, 2016
  25. Jun 12, 2016
  26. Jun 08, 2016
  27. Feb 23, 2016
  28. Aug 27, 2015
  29. Aug 25, 2015
  30. Aug 24, 2015
  31. Aug 21, 2015