karaf.out log to file using logback.

2015-03-25 Thread Srikanth Hugar
Hello,

  Currently when i start karaf from *..bin\start* command, *karaf.log* file
creates automatically and it grows in in production environment.
I already have the logback configuration for different logging, how can i
put contents of *karaf.out *log to file and configure not to create the
*karaf.out* file.

Best Regards,
Srikanrh.


RE: karaf.out log to file using logback.

2015-03-25 Thread Jean-Baptiste Onofré


Hi Srikanth
I did the change to avoid to redirect the output to karaf.out. You can use the 
KARAF_REDIRECT env variable. You can see the usage in bin/start script.
RegardsJB


Sent from my Samsung device

 Original message 
From: Srikanth Hugar  
Date: 25/03/2015  07:58  (GMT+01:00) 
To: user@karaf.apache.org 
Subject: karaf.out log to file using logback. 


Hello,
  Currently when i start karaf from ..bin\start command, karaf.log file creates 
automatically and it grows in in production environment.I already have the 
logback configuration for different logging, how can i put contents of 
karaf.out log to file and configure not to create the karaf.out file.
Best Regards,Srikanrh.



Re: karaf.out log to file using logback.

2015-03-25 Thread Srikanth Hugar
Could not find  KARAF_REDIRECT variable in bin/start script. I am using
karaf 3.0.0.
KARAF_REDIRECT variable is also applicable for 3.0.0?

Srikanth Hugar
www.gharki.com



On Wed, Mar 25, 2015 at 12:55 PM, Jean-Baptiste Onofré 
wrote:

> Hi Srikanth
>
> I did the change to avoid to redirect the output to karaf.out. You can use
> the KARAF_REDIRECT env variable. You can see the usage in bin/start script.
>
> Regards
> JB
>
>
>
> Sent from my Samsung device
>
>
>  Original message 
> From: Srikanth Hugar 
> Date: 25/03/2015 07:58 (GMT+01:00)
> To: user@karaf.apache.org
> Subject: karaf.out log to file using logback.
>
>
> Hello,
>
>   Currently when i start karaf from *..bin\start* command, *karaf.log*
> file creates automatically and it grows in in production environment.
> I already have the logback configuration for different logging, how can i
> put contents of *karaf.out *log to file and configure not to create the
> *karaf.out* file.
>
> Best Regards,
> Srikanrh.
>


Re: karaf.out log to file using logback.

2015-03-25 Thread Morgan Hautman

Hi Srikanth.

This is the Jira about it -> 
https://issues.apache.org/jira/browse/KARAF-3042?jql=text%20~%20%22karaf.out%22


On 25/03/2015 10:07, Srikanth Hugar wrote:
Could not find KARAF_REDIRECT variable in bin/start script. I am using 
karaf 3.0.0.

KARAF_REDIRECT variable is also applicable for 3.0.0?

Srikanth Hugar
www.gharki.com <http://www.gharki.com>



On Wed, Mar 25, 2015 at 12:55 PM, Jean-Baptiste Onofré 
mailto:j...@nanthrax.net>> wrote:


Hi Srikanth

I did the change to avoid to redirect the output to karaf.out. You
can use the KARAF_REDIRECT env variable. You can see the usage in
bin/start script.

Regards
JB



Sent from my Samsung device


 Original message 
From: Srikanth Hugar mailto:srikanth.hu...@gmail.com>>
Date: 25/03/2015 07:58 (GMT+01:00)
To: user@karaf.apache.org <mailto:user@karaf.apache.org>
    Subject: karaf.out log to file using logback.


Hello,

Currently when i start karaf from *..bin\start* command,
*karaf.log* file creates automatically and it grows in in
production environment.
I already have the logback configuration for different logging,
how can i put contents of *karaf.out *log to file and configure
not to create the *karaf.out* file.

Best Regards,
Srikanrh.