Properly propagate use debug and trace flags on the server
Slight log message improvements