diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2016-12-29 22:13:50 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2016-12-29 22:13:50 +0100 |
| commit | 51efddc3d07ce7ba39198559dee3a402ec19f0b6 (patch) | |
| tree | a3c98397461494678f223141086091d4ddf3c8aa /src/CRSMLogging.cpp | |
| parent | 90a4f3181be1b57d910b0a7c7259f6371e2196c9 (diff) | |
| download | manager-51efddc3d07ce7ba39198559dee3a402ec19f0b6.tar.gz manager-51efddc3d07ce7ba39198559dee3a402ec19f0b6.zip | |
Add log for all issued commands
Diffstat (limited to 'src/CRSMLogging.cpp')
| -rw-r--r-- | src/CRSMLogging.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CRSMLogging.cpp b/src/CRSMLogging.cpp index 8fe0683..c019814 100644 --- a/src/CRSMLogging.cpp +++ b/src/CRSMLogging.cpp @@ -123,10 +123,12 @@ void CRSMLogging::commandLog(const QString &message, const ClientInfo &client, b if(response) { log("Response: " + message.trimmed() + "\n", cmdLogsFolder + client.toString()); + log("Response: " + client.toString(true) + " " + message.trimmed() + "\n", cmdsLogFile); } else { log("Command: " + message + "\n", cmdLogsFolder + client.toString()); + log("Command: " + client.toString(true) + " " + message + "\n", cmdsLogFile); } if(client.interface == Clonk) { |
