Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Create log file dynamically based on network #2452

Closed
ManuGowda opened this issue Oct 8, 2018 · 0 comments · Fixed by #2475
Closed

Create log file dynamically based on network #2452

ManuGowda opened this issue Oct 8, 2018 · 0 comments · Fixed by #2475
Assignees
Milestone

Comments

@ManuGowda
Copy link
Contributor

ManuGowda commented Oct 8, 2018

Expected behavior

Logfile name should be created dynamically based on the network if I create a network testnet-sync then the log file should be lisk-testnet-sync.log or we can create separate log directory specific to network like logs/testnet-sync/lisk.log, either of the approaches should be good.

This way if a user is running multiple node from same code base at same place just by having custom network configuration then the logs will be created dynamically based on the network rather than changing the log file name in the custom network config file.

Actual behavior

Currently, when we start a network with parameter testnet-sync, we need to specify explicitly the log file name for custom log file name.

Which version(s) does this affect? (Environment, OS, etc...)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants