Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker default min loglevel to info #1261

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

knorrium
Copy link
Member

$ docker logs mempool_api_1 --follow
wait-for-it.sh: waiting 720 seconds for mariadb:3306
wait-for-it.sh: mariadb:3306 is available after 2 seconds
Feb 18 05:45:10 [78] INFO: Downloading external asset: pools.json...
Feb 18 05:45:12 [78] INFO: Restoring mempool and blocks data from disk cache
Feb 18 05:45:12 [78] INFO: Database connection established.
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Running migrations
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Database engine version '10.5.12-MariaDB-1:10.5.12+maria~focal'
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Current state.schema_version 5
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Latest DatabaseMigration.version is 6
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Execute query:
TRUNCATE blocks;
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks MODIFY `height` integer unsigned NOT NULL DEFAULT "0"
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks MODIFY `tx_count` smallint unsigned NOT NULL DEFAULT "0"
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks MODIFY `size` integer unsigned NOT NULL DEFAULT "0"
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks MODIFY `weight` integer unsigned NOT NULL DEFAULT "0"
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks MODIFY `difficulty` double NOT NULL DEFAULT "0"
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks DROP FOREIGN KEY IF EXISTS `blocks_ibfk_1`
Feb 18 05:45:12 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE pools MODIFY `id` smallint unsigned AUTO_INCREMENT
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks MODIFY `pool_id` smallint unsigned NULL
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks ADD FOREIGN KEY (`pool_id`) REFERENCES `pools` (`id`)
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks ADD `version` integer unsigned NOT NULL DEFAULT "0"
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks ADD `bits` integer unsigned NOT NULL DEFAULT "0"
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks ADD `nonce` bigint unsigned NOT NULL DEFAULT "0"
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks ADD `merkle_root` varchar(65) NOT NULL DEFAULT ""
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
ALTER TABLE blocks ADD `previous_block_hash` varchar(65) NULL
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Upgrading datababse schema
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
START TRANSACTION;
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
UPDATE state SET number = 6 WHERE name = 'schema_version';
Feb 18 05:45:13 [78] INFO: MIGRATIONS: Execute query:
COMMIT;
Feb 18 05:45:13 [78] INFO: MIGRATIONS: OK. Database schema have been migrated from version 5 to 6 (latest version)
Feb 18 05:45:14 [78] INFO: Mining pools.json import completed
Feb 18 05:45:14 [78] INFO: Starting statistics service
Feb 18 05:45:14 [78] INFO: Starting currency rates service
Feb 18 05:45:14 [78] INFO: Currency rates service will be queried over the Tor network using http://wizpriceje6q5tdrxkyiazsgu7irquiqjy2dptezqhrtu7l2qelqktid.onion/getAllMarketPrices
Feb 18 05:45:14 [78] NOTICE: Mempool Server is running on port 8999
Feb 18 05:45:19 [78] WARN: runMainLoop error: Loading block index…. Retrying in 10 sec.
Feb 18 05:45:29 [78] WARN: runMainLoop error: Verifying blocks…. Retrying in 20 sec.
Feb 18 05:45:36 [78] INFO: Connected to Electrum Server at 10.21.21.10:50001 (["electrs/0.9.4","1.4"])
Feb 18 05:46:08 [78] NOTICE: The mempool is now in sync!
Feb 18 05:46:08 [78] INFO: Indexing blocks from #723848 to #0

@knorrium knorrium requested a review from wiz February 18, 2022 05:49
@cla-bot cla-bot bot added the cla-signed label Feb 18, 2022
Copy link
Member

@wiz wiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@wiz wiz merged commit efada32 into mempool:master Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants