Skip to content

Commit fb88596

Browse files
committed
Fixed an issue with the scope of the logfunc variable in production.
- Legacy-Id: 13761
1 parent 08f0338 commit fb88596

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ietf/utils/log.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def getcaller():
3535

3636
def log(msg):
3737
"Uses syslog by preference. Logs the given calling point and message."
38+
global logfunc
3839
if settings.SERVER_MODE == 'test':
3940
return
4041
elif settings.DEBUG == True:

0 commit comments

Comments
 (0)