1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00

Update: Added debug level logging to shutdown_subsystems()

This commit is contained in:
Philipp Schafft 2022-03-22 15:35:03 +00:00
parent 75fc890963
commit 4ecee870c9

View File

@ -172,6 +172,7 @@ static void initialize_subsystems(void)
static void shutdown_subsystems(void)
{
ICECAST_LOG_DEBUG("Shuting down subsystems...");
event_shutdown();
fserve_shutdown();
refbuf_shutdown();
@ -180,6 +181,7 @@ static void shutdown_subsystems(void)
yp_shutdown();
stats_shutdown();
ICECAST_LOG_DEBUG("Shuting down connection related subsystems...");
connection_shutdown();
client_shutdown();
tls_shutdown();
@ -200,6 +202,7 @@ static void shutdown_subsystems(void)
icecast_curl_shutdown();
#endif
ICECAST_LOG_DEBUG("Shuting down logging subsystem. See you!");
/* Now that these are done, we can stop the loggers. */
_stop_logging();
log_shutdown();