Index: main/logger.c =================================================================== --- main/logger.c (revision 318436) +++ main/logger.c (working copy) @@ -791,7 +791,7 @@ AST_RWLIST_UNLOCK(&logchannels); - state = ast_true(a->argv[4]) ? 1 : 0; + state = ast_true(a->argv[4]) ? 0 : 1; if (level != -1) { ast_console_toggle_loglevel(a->fd, level, state);