LoginSignup
11
11

More than 5 years have passed since last update.

yumのデバッグ出力な奴

Posted at

最近のyumレポジトリとかSSLのとこが多いのでProxyのログ見てもわからん。
ということで、

# URLGRABBER_DEBUG=1,debug.log yum list

を使うと、debug.logファイルにデバッグログが出力される。

2014-10-28 17:17:12,860 attempt 1/None: file:///etc/yum.repos.d/epel.repo
2014-10-28 17:17:12,861 success
2014-10-28 17:17:12,862 combined options: {
  'delegate'     : {
    'bandwidth'    : 0,
    'cache_openers': True,
    'checkfunc'    : None,
    'close_connection': 0,
    'copy_local'   : 0,
    'data'         : None,
    'delegate'     : None,
    'failure_callback': None,
    'ftp_headers'  : None,
    'http_headers' : None,
    'interrupt_callback': None,
    'keepalive'    : 1,
    'max_header_size': 2097152,
    'opener'       : None,
    'prefix'       : None,
    'progress_obj' : None,
    'proxies'      : None,
    'quote'        : None,
    'range'        : None,
    'reget'        : None,
    'retry'        : None,
    'retrycodes'   : [-1, 2, 4, 5, 6, 7],
    'size'         : None,
    'ssl_ca_cert'  : None,
    'ssl_cert'     : None,
    'ssl_cert_type': 'PEM',
    'ssl_context'  : None,
    'ssl_key'      : None,
    'ssl_key_pass' : None,
    'ssl_key_type' : 'PEM',
    'ssl_verify_host': True,
    'ssl_verify_peer': True,
    'text'         : None,
    'throttle'     : 1.0,
    'timeout'      : 300,
    'urlparser'    : <urlgrabber.grabber.URLParser instance at 0x7fc1871f74d0>,
    'user_agent'   : 'urlgrabber/3.9.1 yum/3.2.29',
    }
  }
2014-10-28 17:17:12,863 attempt 1/None: file:///etc/yum.repos.d/sensu.repo
2014-10-28 17:17:12,863 success

便利。

11
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
11