summaryrefslogtreecommitdiffstats
path: root/eurephia_getsym.c
Commit message (Collapse)AuthorAgeFilesLines
* Log review - changed log levels for all DEBUG(...) callsDavid Sommerseth2008-10-041-2/+2
|
* Log review (part 1) - log categoriesDavid Sommerseth2008-10-031-1/+1
| | | | | | | | | | | | | | | | Went through all parts of the code, and reorganised log categories. The following "rules" where used for categorisation: LOG_INFO - General info, should avoid log level higher than 5 LOG_DEBUG - Using DEBUG function only log level always > 10 LOG_WARNING - When something action fails, but not as severe that the process cannot continue. Log level never > 2 LOG_ERROR - API errors, but not severe, can continue LOG_FATAL - Action failed and we cannot continue in this function. Log level always < 2 LOG_PANIC - Action failed and eurephia-auth cannot continue to work any more (program restart needed). Log level always 0
* Improved code security. LOG_DEBUG statements are only compiled if DEBUG=1 ↵David Sommerseth2008-09-191-1/+1
| | | | | | | | | | | | | is sent to make. Since several parts of the code where LOG_DEBUG was used with eurephia_log(...) contains security sensitive information (like logging password retrieved with get_env(...)), all debug logging is now done via the DEBUG macro. This macro will not produce any security relevant eurephia_log(...) statements unless the source is compiled with -DENABLE_DEBUG. This is activated via make by adding DEBUG=1 before the make targets. When not enabled, the binaries will not do any debug logging at all.
* Moved eDBlink_getsym(...) out of eurephiadb.c and into eurephia_getsym.c. ↵David Sommerseth2008-08-101-0/+44
Renamed to eGetSym(...)