Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,12 @@
|
|
1 |
import subprocess
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
def run_command(command):
|
5 |
try:
|
|
|
1 |
import subprocess
|
2 |
+
import logging
|
3 |
|
4 |
+
# Configure logging
|
5 |
+
logging.basicConfig(
|
6 |
+
level=logging.DEBUG,
|
7 |
+
format='%(asctime)s - %(levelname)s - %(message)s',
|
8 |
+
datefmt='%Y-%m-%d %H:%M:%S'
|
9 |
+
)
|
10 |
|
11 |
def run_command(command):
|
12 |
try:
|