Fix: debug level and log on stdout are not the same
This commit is contained in:
@@ -78,7 +78,9 @@ public class Worker {
|
||||
|
||||
@Option(name = SettingsLoader.ARG_RENDERTIME, usage = "Maximum time allow for each frame (in minutes)", required = false) private int max_rendertime = -1;
|
||||
|
||||
@Option(name = SettingsLoader.ARG_VERBOSE, usage = "Display full log", required = false) private boolean print_log = false;
|
||||
@Option(name = SettingsLoader.ARG_LOG_STDOUT, usage = "Display full log", required = false) private boolean print_log = false;
|
||||
|
||||
@Option(name = SettingsLoader.ARG_VERBOSE, usage = "Log DEBUG", required = false) private boolean log_debug = false;
|
||||
|
||||
@Option(name = SettingsLoader.ARG_REQUEST_TIME, usage = "H1:M1-H2:M2,H3:M3-H4:M4 Use the 24h format. For example to request job between 2am-8.30am and 5pm-11pm you should do -request-time 2:00-8:30,17:00-23:00 Caution, it's the requesting job time to get a project, not the working time", metaVar = "2:00-8:30,17:00-23:00", required = false) private String request_time = null;
|
||||
|
||||
@@ -138,6 +140,7 @@ public class Worker {
|
||||
|
||||
ComputeType compute_method = null;
|
||||
Configuration config = new Configuration(null, login, password);
|
||||
config.setDebugLevel(log_debug);
|
||||
config.setPrintLog(print_log);
|
||||
config.setPriority(priority);
|
||||
config.setDetectGPUs(!no_gpu_detection);
|
||||
|
||||
Reference in New Issue
Block a user