allow user to specify log levels