Skip to content

Commit dd1b0b2

Browse files
peterstone2017YunchuWang
authored andcommitted
remove file logging handler
1 parent 62bc5a3 commit dd1b0b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

azure_functions_worker/logging.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
handler: Optional[logging.Handler] = None
2020
error_handler: Optional[logging.Handler] = None
2121

22-
local_handler = logging.FileHandler('log.txt')
23-
logging.getLogger().addHandler(local_handler)
2422

2523
def setup(log_level, log_destination):
2624
# Since handler and error_handler are moved to the global scope,

0 commit comments

Comments
 (0)