summaryrefslogtreecommitdiffstats
path: root/eurephia_values.c
Commit message (Collapse)AuthorAgeFilesLines
* Log review - changed log levels for all DEBUG(...) callsDavid Sommerseth2008-10-041-3/+3
|
* 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-5/+5
| | | | | | | | | | | | | 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.
* Another attempt to avoid eFree_values_func to core dumpDavid Sommerseth2008-08-241-12/+10
|
* Added GPLv2 licence, updated *.[ch] files to include license, with exception ↵David Sommerseth2008-08-081-1/+16
| | | | of memwatch and sha1
* Improved/fixed debug logging in eurephia_values.cDavid Sommerseth2008-08-071-2/+5
|
* Imported eurephia into gitDavid Sommerseth2008-08-061-0/+103