X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fmain.c;h=c032eb10739f046fdf4489fdd77a9acd41fb8739;hb=ce9b60fc55acd893b58bf84b3f0f7f39cffee079;hp=4b36b20fbb5f14db9630bbee31766966c6a3cb3b;hpb=e279b48f80a9386710f6170a876601257cd6144f;p=matches%2FMCTX3420.git diff --git a/server/main.c b/server/main.c index 4b36b20..c032eb1 100644 --- a/server/main.c +++ b/server/main.c @@ -11,6 +11,7 @@ #include "control.h" // --- Standard headers --- // +#include // for system logging #include // for signal handling // --- Variable definitions --- // @@ -68,6 +69,9 @@ int main(int argc, char ** argv) { ParseArguments(argc, argv); + //Open the system log + openlog("mctxserv", LOG_PID | LOG_PERROR, LOG_USER); + Log(LOGINFO, "Server started"); // signal handler //TODO: Make this work /*