[Git][NTPsec/ntpsec][master] temp-log.py: remove more dead code.

Gary E. Miller gitlab at mg.gitlab.com
Fri Jan 27 00:08:14 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
a2b87917 by Gary E. Miller at 2017-01-26T16:07:59-08:00
temp-log.py: remove more dead code.

- - - - -


1 changed file:

- contrib/temp-log.py


Changes:

=====================================
contrib/temp-log.py
=====================================
--- a/contrib/temp-log.py
+++ b/contrib/temp-log.py
@@ -162,22 +162,6 @@ def logging_setup(fileName, logLevel):
     return tempLogger
 
 
-def console_log_setup(logLevel):
-    "Create logging object that writes to STDOUT"
-    logFormat = logging.Formatter('%(message)s')
-    # Create the logging object
-    tempLog = logging.getLogger()
-    tempLog.setLevel(logLevel)
-    # Create the output handler
-    ch = logging.StreamHandler()
-    ch.setLevel(logLevel)
-    # Apply the format to the handler
-    ch.setFormatter(logFormat)
-    # Apply the handler object to the logging object
-    tempLog.addHandler(ch)
-    return tempLog
-
-
 def logData(log, data):
     "log the data"
     if type(data) in (tuple, list):



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a2b879173d4a7f6320a877f1b5a6d4dc68060606
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170127/47be203d/attachment.html>


More information about the vc mailing list