L.S.,

The karaf.override. prefix is used to override the default system
properties - in this case, you're overriding the default value of the
user.timezone Java system property. You're right that it would be good
if we would document this feature in the system.properties file or on
the website - I raised
https://issues.apache.org/jira/browse/KARAF-3208 to get this addressed
for a future Karaf release.


Regards,

Gert Vanthienen


On Fri, Sep 5, 2014 at 1:47 PM, BURN, James <[email protected]> wrote:
> Thanks Lukasz. I'll have a go with that.
> I'm rather puzzled why there isn't already a line which says
>
> XXX.user.timezone=BST
>
> anywhere at the moment though.
>
> James
>
> -----Original Message-----
> From: Łukasz Dywicki [mailto:[email protected]]
> Sent: 04 September 2014 15:35
> To: [email protected]
> Subject: Re: Date format change
>
> Hey,
> In etc/system.properties you need this option:
>
> karaf.override.user.timezone=UTC
>
> Cheers,
> Lukasz
>
>
> 2014-09-04 14:11 GMT+02:00 BURN, James <[email protected]>:
>
>> Hi
>>
>> How does one go about changing the date format in ServiceMix (I'm
>> using 5.1.1)?
>>
>> I changed the system (Centos 6.5) clock from BST to UTC and want
>> ServiceMix to work with UTC going forwards.
>>
>> However, ServiceMix still returns its logs in BST. I've restarted the
>> system and and looked through the <SM>/etc setup files, but the logs
>> are still in BST.
>>
>> I'm guessing ServiceMix gets the date format from the OS when
>> initially started, but how can I change this going forwards.
>>
>> Cheers
>>
>> James
>>
>>

Reply via email to