libseat: Use LIBSEAT_LOGLEVEL instead of SEATD_LOGLEVEL

This commit is contained in:
Kenny Levinsen 2020-08-03 02:43:13 +02:00
parent e25688fed6
commit 250adee852
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ struct libseat *libseat_open_seat(struct libseat_seat_listener *listener, void *
return NULL;
}
char *loglevel = getenv("SEATD_LOGLEVEL");
char *loglevel = getenv("LIBSEAT_LOGLEVEL");
enum libseat_log_level level = LIBSEAT_SILENT;
if (loglevel != NULL) {
if (strcmp(loglevel, "silent") == 0) {