init config + partial log bug fix

Issuing config <setting> <value> now updates configuration file. Server
output older than one day gets flushed since last entry can be ”newer”
on the previous day (eg. 18:03) than current day (that can be for
example 16:03).