diff options
author | Micael Karlberg <[email protected]> | 2013-11-14 17:53:11 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2013-11-14 17:53:11 +0100 |
commit | 4b89567941ac6c00a994bde917e2d0d450dce91f (patch) | |
tree | dff0c971ecb2ff2d4d366ee05d73381ca3c28f79 /lib/snmp/src/misc/snmp_verbosity.erl | |
parent | 98412eababc3f81719e9c150c9cff6c629e2a3ff (diff) | |
download | otp-4b89567941ac6c00a994bde917e2d0d450dce91f.tar.gz otp-4b89567941ac6c00a994bde917e2d0d450dce91f.tar.bz2 otp-4b89567941ac6c00a994bde917e2d0d450dce91f.zip |
[snmp] Loosing log entries when converting a large Audit Trail Log
When converting an entire Audit Trail Log in a running
system its possble to have log wraps and thereby loosing
log entries.
In order to prevent this the log is now blocked during
conversion (log_to_txt or log_to_io).
Diffstat (limited to 'lib/snmp/src/misc/snmp_verbosity.erl')
-rw-r--r-- | lib/snmp/src/misc/snmp_verbosity.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/snmp/src/misc/snmp_verbosity.erl b/lib/snmp/src/misc/snmp_verbosity.erl index df5986b7bc..e5ff3daf91 100644 --- a/lib/snmp/src/misc/snmp_verbosity.erl +++ b/lib/snmp/src/misc/snmp_verbosity.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2000-2012. All Rights Reserved. +%% Copyright Ericsson AB 2000-2013. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -148,6 +148,8 @@ image_of_sname(mnifl) -> "M-NET-IF-LOGGER"; image_of_sname(mnifw) -> io_lib:format("M-NET-IF-worker(~p)", [self()]); image_of_sname(mconf) -> "M-CONF"; +image_of_sname(lc) -> io_lib:format("LOG-CONVERTER(~p)", [self()]); + image_of_sname(mgr) -> "MGR"; image_of_sname(mgr_misc) -> "MGR_MISC"; |