Alibrown commited on
Commit
20a9f83
·
verified ·
1 Parent(s): c427508

Update app/app.py

Browse files
Files changed (1) hide show
  1. app/app.py +10 -10
app/app.py CHANGED
@@ -10,16 +10,16 @@ import time
10
  from commands import ping_command, settings_command
11
  from bank import BankSystem, BankAccount, TransactionError
12
 
13
- # Logging konfigurieren
14
- # logging.basicConfig(
15
- # level=logging.INFO,
16
- # format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
17
- # handlers=[
18
- # logging.FileHandler('discord_bot.log'),
19
- # logging.StreamHandler()
20
- # ]
21
- # )
22
- # logger = logging.getLogger(__name__)
23
 
24
  # Umgebungsvariablen und Konfiguration
25
  PUBLIC_KEY = os.getenv('Public_Key', '').strip()
 
10
  from commands import ping_command, settings_command
11
  from bank import BankSystem, BankAccount, TransactionError
12
 
13
+ # Logging konfigurieren: Nur in die Konsole ausgeben
14
+ logging.basicConfig(
15
+ level=logging.INFO,
16
+ format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
17
+ handlers=[
18
+ logging.StreamHandler()
19
+ ]
20
+ )
21
+ logger = logging.getLogger(__name__)
22
+
23
 
24
  # Umgebungsvariablen und Konfiguration
25
  PUBLIC_KEY = os.getenv('Public_Key', '').strip()