Skip to content

Commit

Permalink
Lower x_print_error to log_debug
Browse files Browse the repository at this point in the history
This information is only really useful for debugging anyway.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Dec 22, 2018
1 parent 1b94765 commit b434451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/x.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ x_print_error(unsigned long serial, uint8_t major, uint8_t minor, uint8_t error_
{
char buf[BUF_LEN] = "";
XGetErrorText(ps->dpy, error_code, buf, BUF_LEN);
log_warn("X error %d %s request %d minor %d serial %lu: \"%s\"",
log_debug("X error %d %s request %d minor %d serial %lu: \"%s\"",
error_code, name, major, minor, serial, buf);
}
}
Expand Down

0 comments on commit b434451

Please sign in to comment.