aboutsummaryrefslogtreecommitdiff
path: root/seatd/seatd.c
diff options
context:
space:
mode:
Diffstat (limited to 'seatd/seatd.c')
-rw-r--r--seatd/seatd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/seatd/seatd.c b/seatd/seatd.c
index 7cc7c71..2dba9ba 100644
--- a/seatd/seatd.c
+++ b/seatd/seatd.c
@@ -18,17 +18,17 @@ int main(int argc, char *argv[]) {
(void)argv;
char *loglevel = getenv("SEATD_LOGLEVEL");
- enum libseat_log_level level = LIBSEAT_ERROR;
+ enum log_level level = LOGLEVEL_ERROR;
if (loglevel != NULL) {
if (strcmp(loglevel, "silent") == 0) {
- level = LIBSEAT_SILENT;
+ level = LOGLEVEL_SILENT;
} else if (strcmp(loglevel, "info") == 0) {
- level = LIBSEAT_INFO;
+ level = LOGLEVEL_INFO;
} else if (strcmp(loglevel, "debug") == 0) {
- level = LIBSEAT_DEBUG;
+ level = LOGLEVEL_DEBUG;
}
}
- libseat_log_init(level);
+ log_init(level);
struct server server = {0};
if (server_init(&server) == -1) {