wahjam/wahjam — pull request #71 by stefanha (2012-09-13 13:14:01+00:00)
Title: Wahjamsrv logging improvements

Log messages are printed to a file if LogFile was set or to stdout by wahjamsrv. The existing logText() function does not integrate with Qt's qDebug(), qWarning(), qCritical(), qFatal() functions. Since the client already uses Qt's logging, it makes sense to also do so in the server. This allows common code to use Qt's logging functions and the messages will be safely written to the log file.

This patch series also includes the following changes:
* Move wahjamsrv version information into wahjamsrv.pro so it's available to the Qt build system.
* Include the git SHA1 in the startup banner so it's easy to identify the exact source tree the binary was built from.
* Log messages related to user connections are prefixed with ": []" so it's easy to identify the user in question.
* Add Wahjam contributors to the wahjamsrv startup copyright messages.