Change loglevel of Path output to debug
This commit is contained in:
parent
66f9ece061
commit
402c761a23
@ -132,8 +132,11 @@ Common arguments:
|
|||||||
Path to directory with historical backtesting data.
|
Path to directory with historical backtesting data.
|
||||||
--userdir PATH, --user-data-dir PATH
|
--userdir PATH, --user-data-dir PATH
|
||||||
Path to userdata directory.
|
Path to userdata directory.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
!!! Warning
|
||||||
|
Using this command will try to load all python files from a folder. This can be a security risk if untrusted files reside in this folder, since all module-level code is executed.
|
||||||
|
|
||||||
Example: search default strategy folder within userdir
|
Example: search default strategy folder within userdir
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
|
@ -149,7 +149,7 @@ class IResolver:
|
|||||||
logger.debug('Ignoring %s', entry)
|
logger.debug('Ignoring %s', entry)
|
||||||
continue
|
continue
|
||||||
module_path = entry.resolve()
|
module_path = entry.resolve()
|
||||||
logger.info(f"Path {module_path}")
|
logger.debug(f"Path {module_path}")
|
||||||
for obj in cls._get_valid_object(module_path, object_name=None):
|
for obj in cls._get_valid_object(module_path, object_name=None):
|
||||||
objects.append(
|
objects.append(
|
||||||
{'name': obj.__name__,
|
{'name': obj.__name__,
|
||||||
|
Loading…
Reference in New Issue
Block a user