iotaledger / one-click-tangle

"One Click Tangle" intends to make lives easier to IOTA adopters by providing pre-configured scripts and recipes that allow to deploy IOTA Networks and Nodes "in one click".
MIT License
55 stars 36 forks source link

Folder to store logs when running a private tangle or mainnet or an extra node on a private tangle #65

Closed peterokwara closed 2 years ago

peterokwara commented 2 years ago

Description

There needs to be a separate folder where hornet logs are stored. This is even if it's running on mainnet or private tangle or when an extra node is added.

Motivation

The logs need to be stored separately. This logs can then be backed up. In case a node crashes, the logs can be inspected to see what could be the issue. This is instead of manually looking at the docker logs for every service.

Requirements

Write a list of what you want this feature to do.

  1. Folder to store logs, regardless of environment
  2. Logs stored in the folder

Open questions (optional)

Does the explorer need to have logs?

Are you planning to do it yourself in a pull request?

Yes.

peterokwara commented 2 years ago

Adding support for Elasticsearch Fluentd and Kibana may solve this issue? Or just Fluentd and then set the output to something like an s3 bucket