Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622).
diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py
index dc3400d..71efbd6 100644
--- a/Lib/logging/__init__.py
+++ b/Lib/logging/__init__.py
@@ -214,7 +214,7 @@
     information to be logged.
     """
     def __init__(self, name, level, pathname, lineno,
-                 msg, args, exc_info, func):
+                 msg, args, exc_info, func=None):
         """
         Initialize a logging record with interesting information.
         """