diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-08-28 17:12:07 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-08-28 17:31:48 +0200 |
commit | ca239ad11a903be0bbe9e50ec16a084ec1ea929a (patch) | |
tree | 97c0485513a485b4cfaf237d30264a633eb3f413 /admin | |
parent | 0c1ff40cecd235aa56a0b74438037a58bed938ae (diff) |
#915 trim unknown command syslog error to the initial 32 bytes
Aug 28 17:12:33 server ogAdmServer[10110]: 127.0.0.1:54640 POST /nonexistent HTTP/1.1^M Host ...
Aug 28 17:12:33 server ogAdmServer[10110]: unknown command: nonexistent HTTP/1.1^M Host: loca ...
Diffstat (limited to 'admin')
-rw-r--r-- | admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp index 1f2667b4..b387541f 100644 --- a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp +++ b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.cpp @@ -4136,7 +4136,7 @@ static int og_client_state_process_payload_rest(struct og_client *cli) } err = og_cmd_software(root, ¶ms); } else { - syslog(LOG_ERR, "unknown command %s\n", cmd); + syslog(LOG_ERR, "unknown command: %.32s ...\n", cmd); err = og_client_not_found(cli); } |