KEEP nodes
  • Summary
  • Getting Started
    • Technical Requirements
  • Russian
    • Руководство по установке
      • Создание ETH кошелька
      • Установка Metamask
      • Создание аккаунта INFURA
      • Получение Гранта KEEP и тестовых ETH
      • Делегирование KEEP
      • Настройка и Запуск Beacon и ECDSA нод
    • Просмотр логов и другие команды
    • Обновление ноды
    • Известные ошибки
  • English
    • Installation guide
      • Creating ETH wallet
      • Metamask installation
      • Create an INFURA account
      • Obtaining the KEEP Grant and Test ETH
      • Delegating KEEP
      • Configuring and Running Beacon and ECDSA Nodes
    • Viewing logs and other commands
    • Updating a node
    • Known errors
  • INDONESIAN
    • Panduan Pemasangan
      • Membuat Dompet ETH
      • Pemasangan Ekstensi Metamask
      • Membuat akun Infura
      • Memperoleh the KEEP Grant and Test ETH
      • Mendelegasikan KEEP
      • Konfigurasi dan menjalankan Random Beacon dan ECDSA Nodes
    • Melihat logs dan perintah lainnya
    • Memperbarui Node
    • Pengetahuan tentang kesalahan/error
Powered by GitBook
On this page
  • Viewing logs
  • Additional commands
  • Save logs to file

Was this helpful?

  1. English

Viewing logs and other commands

PreviousConfiguring and Running Beacon and ECDSA NodesNextUpdating a node

Last updated 4 years ago

Was this helpful?

Viewing logs

There are several options for viewing logs.

  1. View running containers

docker ps -a

2. Full logs of Beacon and ECDSA nodes:

sudo docker logs keep-client -f --since 1m
sudo docker logs keep-ecdsa -f --since 1m

3. Output of only connected peers (number of connected peers):

#FOR BEACON NODE
sudo docker logs -f keep-client --tail 1000 2>&1 | grep "number of connected peers:"
#FOR ECDSA NODE
sudo docker logs -f keep-ecdsa --tail 1000 2>&1 | grep "number of connected peers:"

Additional commands

  1. Stopping and removing a container:

sudo docker stop keep-client && sudo docker rm keep-client
sudo docker stop keep-ecdsa && sudo docker rm keep-ecdsa

Save logs to file

Saving container logs to a file for the last 30 minutes:

sudo docker logs keep-ecdsa --since 30m >& ecdsa.log