Skip to content

Commit

Permalink
Remove GetStats logs
Browse files Browse the repository at this point in the history
They're quite noisy, since gui polls stats every 5 secs.

Signed-off-by: Lev Stipakov <[email protected]>
  • Loading branch information
lstipakov committed Mar 2, 2023
1 parent 0bdff06 commit eea6d3a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions peer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ _Use_decl_annotations_
NTSTATUS
OvpnPeerGetStats(POVPN_DEVICE device, WDFREQUEST request, ULONG_PTR* bytesReturned)
{
LOG_ENTER();

if (InterlockedCompareExchange(&device->UserspacePid, 0, 0) == 0) {
LOG_ERROR("Peer not added");
return STATUS_INVALID_DEVICE_REQUEST;
Expand All @@ -244,8 +242,6 @@ OvpnPeerGetStats(POVPN_DEVICE device, WDFREQUEST request, ULONG_PTR* bytesReturn
*bytesReturned = sizeof(OVPN_STATS);

done:
LOG_EXIT();

return status;
}

Expand Down

0 comments on commit eea6d3a

Please sign in to comment.