Changes between Version 4 and Version 5 of Troubleshooting
- Timestamp:
- Mar 3, 2011, 5:12:28 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Troubleshooting
v4 v5 2 2 = Troubleshooting = 3 3 4 This page describes a few steps that you can follow in order to track a problemwith {{{freeDiameter}}}.4 This page describes a few steps that you can follow in order to better understand a problem you are encountering with {{{freeDiameter}}}. 5 5 6 6 == Gathering debug messages == … … 8 8 If your problem occurs following a reproductible sequence of events, you may get useful information by: 9 9 * Compiling the framework with DEBUG support. 10 This is done by selecting for example CMAKE_BUILD_TYPE=Debug 11 during the build configuration 10 This is done by building freeDiameter with CMAKE_BUILD_TYPE=Debug option 12 11 (see [wiki:Installation#cmakeflags] for more information). 13 12 … … 15 14 Default is level 1 : INFO. 16 15 The level is increased by passing one or more {{{-d}}} flags on the command line. 17 In m ost cases,{{{-ddd}}} should give enough feedback to get a precise16 In many cases, {{{-dd}}} or {{{-ddd}}} should give enough feedback to get a precise 18 17 idea of what is going on. 19 18 The levels are defined in [source:freeDiameter/include/freeDiameter/libfdproto.h libfdproto.h] as follow: … … 23 22 * FULL (2) : Additional information, allowing to follow the execution. 24 23 * ANNOYING (4) : Very verbose level, including for example loops contents. 25 * FCTS (6) : Traces entry in mostfunctions, with their parameters.24 * FCTS (6) : Traces entry inside most framework functions, with their parameters. 26 25 * CALL (9) : Traces almost all function calls. 27 26 28 27 The levels above 3 will result in a lot of information being displayed, 29 and a slowing of the daemon's execution. These must be used with care.28 and a slowing of the framework's execution. These must be used with care. 30 29 To get level 3 for example (assuming default is 1), use: 31 30 {{{ 31 #!sh 32 32 $ freeDiameterd -dd 33 33 }}} … … 39 39 == Reporting a problem == 40 40 41 Please use the helpfunction of this site first to look for similar reports. This searches both the existing tickets and the mailing-list archives.41 Please use the "Search" function of this site first to look for similar reports. This searches both the existing tickets and the mailing-list archives. 42 42 43 If your problem is not already solved, please report to the support mailing-list: help@freediameter.net. If possible, include as much useful information as possible, including: your configuration file (if relevant, strip / alter any confidential information), the debug messages showing the problem, the Operating System on which you are running the framework, the steps to reproduce the problem. In some cases, a network capture (realized with ''wireshark'' for example) may also be helpful. 43 If your problem is not already solved, please report to the support mailing-list: help@freediameter.net. If possible, include as much useful information as possible, including: 44 * your configuration file -- if relevant, strip / alter any confidential information 45 * the debug messages showing the problem 46 * the Operating System on which you are running the framework 47 * the steps to reproduce the problem. 48 In some cases, a network capture (realized with ''wireshark'' for example) may also be helpful. 44 49 45 50 ----