libseat: Use LIBSEAT_LOGLEVEL instead of SEATD_LOGLEVEL
This commit is contained in:
parent
e25688fed6
commit
250adee852
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
# Start seatd
|
||||
#
|
||||
[ -f seatd.sock ] && sudo rm seatd.sock
|
||||
sudo LIBSEAT_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/seatd &
|
||||
sudo SEATD_LOGLEVEL=debug SEATD_SOCK=./seatd.sock ./build/seatd &
|
||||
|
||||
# seatd is started in the background, so wait for it to come alive
|
||||
cnt=0
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue