__init__.py revision 2466
4070N/A# The contents of this file are subject to the terms of the 4070N/A# Common Development and Distribution License (the "License"). 4070N/A# You may not use this file except in compliance with the License. 4070N/A# See the License for the specific language governing permissions 4070N/A# and limitations under the License. 4070N/A# When distributing Covered Code, include this CDDL HEADER in each 4070N/A# If applicable, add the following below this CDDL HEADER, with the 4070N/A# fields enclosed by brackets "[]" replaced with your own identifying 4070N/A# information: Portions Copyright [yyyy] [name of copyright owner] 4070N/A# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. 4070N/A """Simple subclass to ignore exceptions raised during logging output.""" 4070N/A """ This class defines settings which are global # Default maximum number of redirects received before # Default number of retries per-host # Default number of seconds to give up if not connected # Default number of seconds beneath low-speed limit before # Minimum bytes/sec before client thinks about giving up # Maximum number of transient errors before we abort an # Maximum number of timeouts before client gives up. "PKG_CLIENT_MAX_TIMEOUT",
# Number of seconds trying to connect before client "PKG_CLIENT_CONNECT_TIMEOUT",
# Number of seconds below lowspeed limit before # transaction is aborted. "PKG_CLIENT_LOWSPEED_TIMEOUT",
# Number of transient errors before transaction # Number of redirects before a connection is """Resets client logging to its default state. This will cause all logging.INFO entries to go to sys.stdout, and all entries of logging.WARNING or higher to go to sys.stderr.""" # Don't pass messages that are rejected to the root logger. # By default, log all informational messages, but not warnings # Minimum logging level for informational messages. # Enforce maximum logging level for informational messages. # By default, log all warnings and above to stderr. # Stash the handles so they can be removed later.