timelyart / Kairos

Kairos aims to help you save time by automating repetitive tasks on TradingView such as scanning markets for setups, and refreshing alerts as well as creating new ones.
GNU General Public License v3.0
71 stars 31 forks source link

More config options for coloredlogs #84

Closed mrcrdwd closed 1 year ago

mrcrdwd commented 1 year ago

Coloredlogs doesn't automatically inherit the log and date format from the root logger (at least for me). They need to be passed as a parameter.

timelyart commented 1 year ago

A side effect of this is that this will override the default output (obviously) used by coloredlogs.

There really should be output and styling options under [logging] in the kairos.cfg file.

mrcrdwd commented 1 year ago

There really should be output and styling options under [logging] in the kairos.cfg file.

I agree that adding this as configuration options to kairos.cfg is the best solution.

A nice feature of coloredlogs is that it also allows changing the logging format using environment variables. So users can already tweak the format to their liking.