Remove logfile
Fallback to 0 for invalid interger/float parameters