Skip to content

Commit

Permalink
address code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
adev4a committed Mar 1, 2024
1 parent 49dd949 commit b9f2aaa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def createLogger(self, log_type):

now = datetime.now()
dt_string = now.strftime("_%m_%d_%Y_%H_%M_%S")
log_name = "something.log"
log_name = self.log_name + dt_string + ".log"
formatter = logging.Formatter(
'%(asctime)s - %(name)s - %(funcName)s - %(levelname)s - %(message)s')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def __init__(self, config = Config()):
# Create Asynchronous write API for influxdb
self.write_api = self.influx_client.write_api(write_options=ASYNCHRONOUS)

#self.logger = config.logger

# Processing status
self.is_processing = False
Expand Down

0 comments on commit b9f2aaa

Please sign in to comment.