aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/misc/snmp_log.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2013-10-11 13:06:19 +0200
committerMicael Karlberg <[email protected]>2013-10-11 14:34:18 +0200
commit08b6fcf4c00deb2efb7ddb759b430ab7effa3cc8 (patch)
tree57edc32333c0a3e0c12dc0cc0dbcaa8d076fe8ab /lib/snmp/src/misc/snmp_log.erl
parent8402f78061bf0cb3283bd0028b98746ef730fe4a (diff)
downloadotp-08b6fcf4c00deb2efb7ddb759b430ab7effa3cc8.tar.gz
otp-08b6fcf4c00deb2efb7ddb759b430ab7effa3cc8.tar.bz2
otp-08b6fcf4c00deb2efb7ddb759b430ab7effa3cc8.zip
[snmp] Updated release notes, ref man, appup and assigned proper version
Diffstat (limited to 'lib/snmp/src/misc/snmp_log.erl')
-rw-r--r--lib/snmp/src/misc/snmp_log.erl22
1 files changed, 8 insertions, 14 deletions
diff --git a/lib/snmp/src/misc/snmp_log.erl b/lib/snmp/src/misc/snmp_log.erl
index 04ce2c0530..de03c97281 100644
--- a/lib/snmp/src/misc/snmp_log.erl
+++ b/lib/snmp/src/misc/snmp_log.erl
@@ -343,12 +343,6 @@ validate_loop(Error, _Log, _Write, _PrevTS, _PrevSN) ->
%% log(Log, Packet, Addr, Port)
%%-----------------------------------------------------------------
--spec log(Log :: log(),
- Packet :: binary() | {v3_header(), ScopedPDU :: list()},
- Addr :: inet:ip_address(),
- Port :: inet:port_number()) ->
- ok | {error, Reason :: term()}.
-
log(#snmp_log{id = Log, seqno = SeqNo}, Packet, Addr, Port) ->
?vtrace("log -> entry with"
"~n Log: ~p"
@@ -594,14 +588,14 @@ maybe_unblock(Log, true = _Block) ->
%% "~n Res: ~p", [log_status(Log), Res]),
Res.
-log_status(Log) ->
- Info = disk_log:info(Log),
- case lists:keysearch(status, 1, Info) of
- {value, {status, Status}} ->
- Status;
- false ->
- undefined
- end.
+%% log_status(Log) ->
+%% Info = disk_log:info(Log),
+%% case lists:keysearch(status, 1, Info) of
+%% {value, {status, Status}} ->
+%% Status;
+%% false ->
+%% undefined
+%% end.
%% -- do_log_to_text ---