1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 06:18:06 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
elbandi
7f7557b59b Fix VERSION redefine warnings 2016-04-01 01:40:55 +02:00
ystarnaud
8a6168fa4b Fix for UI/API intensity changes
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.
2014-11-19 12:21:11 +01:00
Jan Berdajs
eb6f47e503 Add debug-log setting to log everything when stderr is redirected to file
Based on code from BFGMiner
2014-07-06 01:07:32 +02:00
Jan Berdajs
485ec9ac88 rename poorly named variable 2014-07-06 00:03:11 +02:00
troky
6971ce6fe0 logging spaces/indentation 2014-06-10 17:13:54 +02:00
troky
9f6bf16196 Refactored logging. Increased default log buffer size. 2014-06-10 16:36:53 +02:00
Noel Maersk
cc735db550 misc: don't violate reserved identifier naming convention.
Closes https://github.com/veox/sgminer/issues/177
2014-04-03 19:12:35 +03:00
unknown
feac311305 VS2010 build: Converted applog() macro to function. 2014-02-07 21:44:23 +02:00
Noel Maersk
f6f950273b log: Change log_dateformat to log_show_date and make it bool. 2014-01-11 17:32:57 +02:00
Martin Danielsen
ba1c47781f log: Added a switch to the log date and time format.
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
2014-01-11 17:32:39 +02:00
Con Kolivas
8e9f32a81b Add a forcelog variant of applog which invalidates any console lock to force output. 2013-10-18 23:30:05 +11:00
Kano
0d4edbe9c1 logging - applogsiz() for large messages 2013-08-31 13:41:37 +10:00
Kano
bd3612c104 util.c expand quit to show file/func/line 2013-08-12 08:38:02 +10:00
Kano
7eba963477 remove varargs from logging/quit/in general as much as possible 2013-06-15 22:03:56 +10:00
Kano
8f08a327ca applog - force type checking 2013-05-02 22:50:25 +10:00
Kano
568b0fed89 API allow full debug settings control 2012-09-01 18:21:08 +10:00
zefir
e0fec35751 modularized logging, support for priority based logging
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.
2012-02-11 20:26:25 +01:00