Skip to content

Commit eb2ebff

Browse files
committed
logging: basicConfig: Accept (and ignore) filename & format args.
1 parent 72d1f5e commit eb2ebff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

logging/logging.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ def getLogger(name):
6060
_loggers[name] = l
6161
return l
6262

63-
def basicConfig(level=INFO):
63+
def basicConfig(level=INFO, filename=None, format=None):
6464
global _level
6565
_level = level
66+
if filename is not None:
67+
print("logging.basicConfig: filename arg is not supported")
68+
if format is not None:
69+
print("logging.basicConfig: format arg is not supported")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy