shrijayan commited on
Commit
1a2035c
·
1 Parent(s): 512e3e3

Remove file handler from logging setup for console-only logging

Browse files
Files changed (1) hide show
  1. utils.py +1 -4
utils.py CHANGED
@@ -7,10 +7,7 @@ def setup_logging():
7
  logging.basicConfig(
8
  level=logging.INFO,
9
  format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
10
- handlers=[
11
- logging.FileHandler("/tmp/address_processing.log"), # Use /tmp directory
12
- logging.StreamHandler()
13
- ]
14
  )
15
  return logging.getLogger(__name__)
16
 
 
7
  logging.basicConfig(
8
  level=logging.INFO,
9
  format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
10
+ handlers=[logging.StreamHandler()] # Only console logging
 
 
 
11
  )
12
  return logging.getLogger(__name__)
13