Skip to content

Commit

Permalink
Fixing the double-logging problem
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoblath committed Dec 20, 2024
1 parent b854aea commit c96d4bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/dl-http-server
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import dripline
import logging
logger = logging.getLogger('dripline')
logger.setLevel(logging.DEBUG)
logger.propagate = False

def setup_logging():
handler = logging.StreamHandler()
Expand Down
1 change: 1 addition & 0 deletions bin/dl-serve
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import scarab
import logging
logger = logging.getLogger('dripline')
logger.setLevel(logging.DEBUG)
logger.propagate = False

class Serve(dripline.core.ObjectCreator):
'''
Expand Down

0 comments on commit c96d4bd

Please sign in to comment.