Bug 1016166

Summary: Logs translated by locale
Product: [Community] Candlepin Reporter: Dennis Crissman <dcrissman>
Component: candlepinAssignee: candlepin-bugs
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 0.9CC: wpoteat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-07 19:52:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dennis Crissman 2013-10-07 16:04:48 UTC
Logs come out in different languages, presumably based on locale. This is great for the user, not so great for debugging.

Example:

Oct 07 09:43:01 [http-8080-8] WARN  org.candlepin.resource.ConsumerResource - Unable to attach a subscription for a product that has no pool: No entitlements for products: [69]
 
Oct 07 09:43:56 [http-8080-8] WARN  org.candlepin.resource.ConsumerResource - Impossible dattacher un abonnement pour un produit qui ne possède pas de pool : {0}

Comment 1 William Poteat 2014-01-07 19:52:32 UTC
Messages that are intended for the client are translated for the client . They are also occasionally logged. There is not a useful way to log in english only but return translated messages to the logs.

Comment 2 William Poteat 2014-01-07 19:53:08 UTC
return translated messages to the client