mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-08 18:32:21 +00:00
* basic logging for the login * removing unused import * hacking the logs custom filter to not filter the email * black * cooping with the new changes * removing redundant method
19 lines
391 B
Python
19 lines
391 B
Python
# IMPORTATION STANDARD
|
|
import logging
|
|
|
|
# IMPORTATION THIRDPARTY
|
|
|
|
|
|
# IMPORTATION INTERNAL
|
|
from openbb_terminal.core.log.generation.path_tracking_file_handler import (
|
|
PathTrackingFileHandler,
|
|
)
|
|
|
|
|
|
def do_rollover():
|
|
"""RollOver the log file."""
|
|
|
|
for handler in logging.getLogger().handlers:
|
|
if isinstance(handler, PathTrackingFileHandler):
|
|
handler.doRollover()
|