The API and UI functions to change intensity would update the gpu
settings directly without updating the config option strings. This
resulted in the intensity updates not saving in config files. This
update should resolve that problem.
Also added API functions to change xintensity and rawintensity.
It is possible to switch back to full date and time on each log line with "--log-dateformat 1". The short time-only format is default with the value of 0.
Log with short time-only format looks like:
[23:59:59] Accepted 389c47d1 Diff 1.16K/512 GPU 0 pool 0
[00:00:16] Log date is now 2013-12-22
[00:00:16] Stratum from pool 0 detected new block
[00:00:33] Accepted 7a4950a4 Diff 536/512 GPU 0 pool 0
Functions related to logging are extracted into dedicated source files
for better maintainability.
The existing low-level logging API is extended with a generalized scheme
providing log functions log_{error, warning, notice, info, debug} that
log messages based on a global opt_log_level.
opt_log_level for now is set to LOG_NOTICE and might be modified via
command line options or config files in future releases.