Skip to content

Commit

Permalink
Added "__name__" to logger to avoid double reporting (#858)
Browse files Browse the repository at this point in the history
As suggested by @DocGarbanzo. It works!
  • Loading branch information
zlite authored May 3, 2021
1 parent 8d091b1 commit 8a97a7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion donkeycar/templates/complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from donkeycar.parts.launch import AiLaunch
from donkeycar.utils import *

logger = logging.getLogger()
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)


Expand Down

0 comments on commit 8a97a7e

Please sign in to comment.