Changes between Version 1 and Version 2 of FAQ_T33_F35


Ignore:
Timestamp:
2013/05/28 23:50:43 (11 years ago)
Author:
yasumichi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FAQ_T33_F35

    v1 v2  
    11== 詳細なログを得るには? == 
    22 
     3CUPS の設定ファイル /etc/cups/cupsd.conf の 154〜166 行くらいのところに、!LogLevel の設定の部分があります。 
     4 
     5!LogLevel info となっていたら、さらに詳細な Log を出力するために、エディタを使って !LogLevel debug 等に書き換えてください。 
     6 
     7/etc/cups/cupsd.conf を書き換えた後で、設定を有効にするために CUPS サーバを再起動してください。 
     8 
     9/etc/cups/cupsd.conf の書き換えと CUPS サーバの再起動には root 権限が必要です。 
     10 
     11{{{ 
     12#!sh 
     13# 
     14# LogLevel: controls the number of messages logged to the ErrorLog 
     15# file and can be one of the following: 
     16# 
     17#     debug2    Log everything. 
     18#     debug     Log almost everything. 
     19#     info      Log all requests and state changes. 
     20#     warn      Log errors and warnings. 
     21#     error     Log only errors. 
     22#     none      Log nothing. 
     23# 
     24 
     25#LogLevel info 
     26LogLevel debug 
     27}}} 
     28 
     29行頭に # をつけることでその行を無効にできます。 
     30 
     31!LogLevel info と書かれている行に # をつけて無効にして、その次の行に新しい設定 !LogLevel debug と書くと、変更前は !LogLevel info だったということを残しておけます。 
     32 
     33書き換えたら root権限で次のコマンドを実行して CUPS サーバを再起動します。 
     34 
     35{{{ 
     36#!sh 
     37$ sudo /etc/init.d/cups restart 
     38}}} 
     39 
     40再起動後に、再度印刷を実行し、どんなログが出力されているか確認してください。