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