Add configuration, fix working with I/O

This commit is contained in:
2026-10-02 14:34:28 +03:00
parent 1db54ed07c
commit 54653dde4a
11 changed files with 253 additions and 98 deletions

View File

@@ -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);