mirror of
https://github.com/eddyem/BTA_utils.git
synced 2026-11-23 14:20:25 +03:00
Add configuration, fix working with I/O
This commit is contained in:
@@ -78,7 +78,6 @@ int start_daemon(){
|
||||
#endif
|
||||
if(G.logfile){
|
||||
int lvl = LOGLEVEL_WARN + G.verbose;
|
||||
DBG("level = %d", lvl);
|
||||
if(lvl > LOGLEVEL_ANY) lvl = LOGLEVEL_ANY;
|
||||
green("Log file %s @ level %d\n", G.logfile, lvl);
|
||||
OPENLOG(G.logfile, lvl, 1);
|
||||
|
||||
Reference in New Issue
Block a user