[ 
https://issues.apache.org/jira/browse/DTACLOUD-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michal Fojtik resolved DTACLOUD-333.
------------------------------------

    Resolution: Fixed

commit 74f3ef37bce7a9ff4cd65f166d1ca853ffa4bcb5
Author: Michal Fojtik <[email protected]>
Date:   Mon Oct 8 15:57:01 2012 +0200

    Core: Various fixed in logging errors
    
    * 404 is not longer logged as 'error'
    * Using -L option on deltacloudd should redirec *all* logs into
      specified file
    * 404 error page in UI does not longer print super-long message
    
    Signed-off-by: Michal fojtik <[email protected]>
    TrackedAt: 
http://tracker.deltacloud.org/patch/117f80b2eeb4715154d662fc6c29a04a42b0f339


                
> inconvenient logging to /var/log/messages
> -----------------------------------------
>
>                 Key: DTACLOUD-333
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-333
>             Project: DeltaCloud
>          Issue Type: Improvement
>          Components: Server
>         Environment: fedora 17
>            Reporter: Martin Povolny
>            Assignee: Michal Fojtik
>            Priority: Minor
>
> While I expect /var/log/messages to contain short log messages from critical 
> system components, when using aoelus i find my messages filled up with 
> hundreds of log messages from deltacloud including:
> * access-log-like entries:
> Oct  4 11:11:44 test1 deltacloudd[537]: 127.0.0.1 - - [04/Oct/2012 11:11:44] 
> "GET /api HTTP/1.1" 200 1114 0.0218
> * stacktraces:
> Oct  4 11:11:44 test1 deltacloudd[537]: OVIRT::OvirtException:No route to 
> host - connect(2)
> Oct  4 11:11:44 test1 deltacloudd[537]: 
> /usr/share/gems/gems/rbovirt-0.0.12/lib/rbovirt.rb:131:in `handle_fault'
> Oct  4 11:11:44 test1 deltacloudd[537]: 
> /usr/share/gems/gems/rbovirt-0.0.12/lib/rbovirt.rb:69:in `rescue in http_get'
> Oct  4 11:11:44 test1 deltacloudd[537]: 
> /usr/share/gems/gems/rbovirt-0.0.12/lib/rbovirt.rb:66:in `http_get'
> Oct  4 11:11:44 test1 deltacloudd[537]: 
> /usr/share/gems/gems/rbovirt-0.0.12/lib/client/datacenter_api.rb:14:in `datace
> nters'
> ...
> I would expect these log messages to reside in appropriate files under 
> /var/log/deltacloud or something like that

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to