Revert "Add log rotation (#6564)" (#6627)

This reverts commit 6eb2eb81c5.
This commit is contained in:
Bastian Köcher
2020-07-10 12:43:41 +02:00
committed by GitHub
parent 150ef0a40a
commit 64114267b2
7 changed files with 84 additions and 50 deletions
-4
View File
@@ -17,7 +17,6 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//! Initialization errors.
use flexi_logger::FlexiLoggerError;
/// Result type alias for the CLI.
pub type Result<T> = std::result::Result<T, Error>;
@@ -33,8 +32,6 @@ pub enum Error {
Service(sc_service::Error),
/// Client error
Client(sp_blockchain::Error),
/// Flexi Logger error
FlexiLogger(FlexiLoggerError),
/// Input error
#[from(ignore)]
Input(String),
@@ -68,7 +65,6 @@ impl std::error::Error for Error {
Error::Cli(ref err) => Some(err),
Error::Service(ref err) => Some(err),
Error::Client(ref err) => Some(err),
Error::FlexiLogger(ref err) => Some(err),
Error::Input(_) => None,
Error::InvalidListenMultiaddress => None,
Error::Other(_) => None,