Opened 6 years ago
Closed 5 years ago
#4664 closed enhancement (fixed)
Remove "penalty_duration: 5 seconds left(Globalvalue)" from default log
Reported by: | Jotne | Owned by: | |
---|---|---|---|
Priority: | trivial | Component: | Monitor-Interface |
Severity: | Please fill in | Keywords: | Logging |
Cc: | Sensitive: | no |
Description
Reason for enhancement
Clean up the log
Remove lines like this from default log when ACoSC logging is turned on.
Apr 09 22:29:45 server oscam[21721]: 0945E3C2 c (ecm) [zaplist] ACoSC for Client: s-tempo penalty_duration: 5 seconds left(Globalvalue)
Apr 09 22:29:45 serer oscam[21721]: 0945E3C2 c (ecm) [zaplist] ACoSC for Client: s-tempo penalty_duration: 5 seconds left(Globalvalue)
Apr 09 22:29:45 server oscam[21721]: 0945E3C2 c (ecm) [zaplist] ACoSC for Client: s-tempo penalty_duration: 5 seconds left(Globalvalue)
Possible impacts on other features
No
What to change
file:oscam-ecm.c
Oscam 11415 line 973
{ cs_log("[zaplist] ACoSC for Client: %s penalty_duration: %ld seconds left(%s)", username(client), client->account->acosc_penalty_until - zaptime, info3); }
Make it so that it only log those action when loglevel is set to "1 detailed error message" or "1024 Client ECM logging"