Removed some unnecessary logs

master
Luminarys 9 years ago
parent 3cdeb9bd5e
commit d12a786160

@ -72,7 +72,6 @@ struct sway_config *read_config(FILE *file, bool is_active) {
// Any command which would require wlc to be initialized // Any command which would require wlc to be initialized
// should be queue for later execution // should be queue for later execution
list_t *args = split_string(line, " "); list_t *args = split_string(line, " ");
sway_log(L_DEBUG, "Checking command %s", line);
if (strcmp("workspace", args->items[0]) == 0) { if (strcmp("workspace", args->items[0]) == 0) {
sway_log(L_DEBUG, "Deferring command %s", line); sway_log(L_DEBUG, "Deferring command %s", line);
char *cmd = malloc(strlen(line) + 1); char *cmd = malloc(strlen(line) + 1);
@ -92,7 +91,6 @@ _continue:
} }
if (success == false) { if (success == false) {
sway_log(L_DEBUG, "Config load failed, exiting");
exit(1); exit(1);
} }

@ -167,7 +167,6 @@ static void handle_wlc_ready(void) {
sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue"); sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue");
int i; int i;
for (i = 0; i < config->cmd_queue->length; ++i) { for (i = 0; i < config->cmd_queue->length; ++i) {
sway_log(L_DEBUG, "Handling command %s", config->cmd_queue->items[i]);
handle_command(config, config->cmd_queue->items[i]); handle_command(config, config->cmd_queue->items[i]);
} }
list_free(config->cmd_queue); list_free(config->cmd_queue);

Loading…
Cancel
Save