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

Add option to set timezone for miner/logs #205

Closed
21mtd opened this issue Mar 14, 2023 · 4 comments
Closed

Add option to set timezone for miner/logs #205

21mtd opened this issue Mar 14, 2023 · 4 comments
Assignees
Labels
🧱 enhancement New feature or request

Comments

@21mtd
Copy link

21mtd commented Mar 14, 2023

Is your feature request related to a problem?

Usually if we run the miner on a host server, it uses the server timezone for logs which is confusing.

Proposed solution

Add something like setTimezone='Location' option in run.py which use tz database time zones

Alternatives you've considered

No response

Additional context

No response

@rdavydov rdavydov self-assigned this Mar 14, 2023
@rdavydov rdavydov added 🧱 enhancement New feature or request ➕ todo labels Mar 14, 2023
@rdavydov
Copy link
Owner

@rdavydov
Copy link
Owner

Done.

@rdavydov
Copy link
Owner

@21mtd Added a new LoggerSettings option.

Example:
time_zone="America/Denver"

Sets a specific time zone for console and file loggers. Use tz database names. Example: "America/Denver".

@rdavydov
Copy link
Owner

⚠ First of all, install and upgrade requirements: pip install -U -r requirements.txt

@rdavydov rdavydov removed the ➕ todo label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧱 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants