[logging] remove __FUNCTION__ from actual message

prefer the log formatter to provide that information.
This commit is contained in:
Armin Novak
2023-01-23 12:03:18 +01:00
committed by akallabeth
parent f4ee5226b0
commit 641022b795
107 changed files with 736 additions and 820 deletions

View File

@@ -52,8 +52,7 @@ static const char* strsignal(int signum)
static void cleanup_handler(int signum)
{
printf("\n");
WLog_INFO(TAG, "[%s]: caught signal %s [%d], starting cleanup...", __FUNCTION__,
strsignal(signum), signum);
WLog_INFO(TAG, "caught signal %s [%d], starting cleanup...", strsignal(signum), signum);
WLog_INFO(TAG, "stopping all connections.");
pf_server_stop(server);