1. 12 Sep, 2019 1 commit
  2. 23 May, 2019 1 commit
  3. 08 Apr, 2019 1 commit
    • Simon Morlat's avatar
      Deep rework of flexisip's logging and sip boolean expressions, introducing a... · aac1f108
      Simon Morlat authored
      Deep rework of flexisip's logging and sip boolean expressions, introducing a new feature: contextual logs.
      With more details:
      - the boolean expression parser/builder is now generic and could be applied to anything (not just sip message)
      - the variables and operators supported by the boolean expressions can easily by extended thanks to map of lambdas.
      - the boolean expression builder no longer does any kind of parsing when evaluating expressions. Everything is parsed once and the object representation is then used to perform evaluations. So it is faster than before.
      - clear out the previous flexisip::log preinit() and init(), which were hardly understandable, and replace them with a LogManager singleton.
      - a new global/log-directory settings allows to set the directory where logs are written
      - the logs files are now named consistently with the systemd service name, for clarity: flexisip-proxy.log flexisip-presence.log flexisip-conference.log. (Was previously FlexisipLogs_proxy.log)
      - a new global/contextual-log-filter setting allows to set SIP boolean expression conditionning the output of contextual logs.
      - a new global/contextual-log-level setting allows to set the log level when the contextual-log-filter is matched.
      - log directory is now automatically created by the rpm and deb packages.
      - a bc-tester style test suite is added, for now it just tests the boolean expression engine. The goal of the test suite is to test low level features of flexisip. It does not intend to replace the "Flexisip" tests suite of liblinphone_tester. We need linphone to test flexisip.
      aac1f108
  4. 17 Jan, 2019 1 commit
  5. 11 May, 2018 1 commit
  6. 03 Apr, 2018 1 commit
  7. 10 Jan, 2018 1 commit
  8. 19 Dec, 2017 1 commit
  9. 10 Nov, 2017 1 commit
  10. 24 Oct, 2017 1 commit
  11. 01 Apr, 2016 1 commit
  12. 18 Mar, 2016 1 commit
  13. 16 Feb, 2016 1 commit
  14. 04 Dec, 2015 1 commit
  15. 17 Nov, 2015 1 commit
  16. 02 Oct, 2015 1 commit
  17. 24 Jun, 2015 1 commit
  18. 18 May, 2015 1 commit
  19. 07 May, 2015 1 commit
  20. 07 Oct, 2014 1 commit
  21. 17 Sep, 2014 2 commits
  22. 29 Aug, 2014 1 commit
  23. 05 Feb, 2014 2 commits
  24. 04 Feb, 2014 1 commit
  25. 03 Feb, 2014 1 commit
  26. 20 Nov, 2013 1 commit
    • Simon Morlat's avatar
      remove some memory leaks · 7d2da0ca
      Simon Morlat authored
      use make_shared<>() instead of shared_ptr<T>(new T), because it allocates one memory block instead of two for the latter case.
      7d2da0ca
  27. 28 Oct, 2013 1 commit
  28. 25 Oct, 2013 1 commit
  29. 16 Oct, 2013 1 commit
  30. 10 Oct, 2013 1 commit
    • Simon Morlat's avatar
      fix 2 crashes · 421977a2
      Simon Morlat authored
      - double SipEvent::terminateProcessing() causing abort()
      - recursion in asio socket close causing crash.
      421977a2
  31. 01 Oct, 2013 1 commit
  32. 14 Aug, 2013 2 commits
  33. 10 Jul, 2013 1 commit
  34. 08 Jul, 2013 1 commit
  35. 13 May, 2013 1 commit
    • Guillaume Beraudo's avatar
      Optionnal dependency on Boost::Log v1 (trunk) · ac94a0b0
      Guillaume Beraudo authored
      - presence of boost log library is autoetected;
      - on g++ 4.4, boost library needs simple patch below [1];
      - on g++ 4.4, need some rvalue and operator<< hacks (see #if);
      - new log-filter config in global which can be set by snmp [2]
      
      [1]
      Change at make_shared.hpp:168
          ::new( pv ) T( boost::detail::sp_forward<Arg1>( arg1 ), boost::detail::sp_forward<Args>( args )... );
      to
          ::new( pv ) T( std::forward<Arg1>( arg1 ), std::forward<Args>( args )... );
      
      [2]
      do a flexisip --dump-snmp-mib then
      snmpset -m FLEXISIP-MIB -Of  -v 2c -c private localhost flexisipMIB.flexisip.global.logFilter.0 s "%Severity% >= debug"
      snmpset -m FLEXISIP-MIB -Of  -v 2c -c private localhost flexisipMIB.flexisip.global.logFilter.0 s "%Severity% >= info"
      ac94a0b0
  36. 15 Apr, 2013 2 commits