diff --git a/src/Cedar/Logging.c b/src/Cedar/Logging.c index 9e34858d..a5ec927d 100644 --- a/src/Cedar/Logging.c +++ b/src/Cedar/Logging.c @@ -911,18 +911,6 @@ void WriteServerLog(CEDAR *c, wchar_t *str) } } -// Take a security log -void WriteSecurityLog(HUB *h, char *str) -{ - // Validate arguments - if (h == NULL || str == NULL) - { - return; - } - - InsertStringRecord(h->SecurityLogger, str); -} - // Take a packet log bool PacketLog(HUB *hub, SESSION *src_session, SESSION *dest_session, PKT *packet, UINT64 now) { diff --git a/src/Cedar/Logging.h b/src/Cedar/Logging.h index 8843bd88..81220af1 100644 --- a/src/Cedar/Logging.h +++ b/src/Cedar/Logging.h @@ -232,7 +232,6 @@ char *GenCsvLine(TOKEN_LIST *t); void ReplaceForCsv(char *str); char *PortStr(CEDAR *cedar, UINT port, bool udp); char *TcpFlagStr(UCHAR flag); -void WriteSecurityLog(HUB *h, char *str); void SiSetDefaultLogSetting(HUB_LOG *g); void DebugLog(CEDAR *c, char *fmt, ...); void SLog(CEDAR *c, char *name, ...);