1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-25 16:02:33 +01:00

WINGs: Add support for syslog messaging

This patch is used to add support for syslog messaging implemented in
WINGs lib directly, so available from the lib itself and wmaker too.
I believe it will in a first time help to get some logging info
centralized in one point, and in a second time maybe add some info
level messages like wmaker is starting, stopping, restarting and else.

For now, it's built by default when the syslog support is found, maybe
we could also disable it by default.
This commit is contained in:
David Maciejak
2014-03-01 19:09:53 +01:00
committed by Carlos R. Mafra
parent ccd96d1563
commit a3ce005980
7 changed files with 116 additions and 2 deletions

View File

@@ -201,6 +201,8 @@ noreturn void Exit(int status)
if (dpy)
XCloseDisplay(dpy);
wutil_shutdown(); /* WUtil clean-up */
exit(status);
}