Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-07 Thread gayan gunawardana
On Tue, Aug 7, 2018 at 4:18 PM, Rushmin Fernando wrote: > Hi Gayan, > > I think the best way is to do it from the logstash level if > possible (filtering etc .. ) > > If you really need the product name in each log line, you can simply > modify the log appender in log4j.porperties. > >

Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-07 Thread Rushmin Fernando
Hi Gayan, I think the best way is to do it from the logstash level if possible (filtering etc .. ) If you really need the product name in each log line, you can simply modify the log appender in log4j.porperties.

Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-07 Thread gayan gunawardana
Thanks All, I need something like below to print product name with each line of log so that It would be easy to separate logs by product in logstash. TID: [-1] [ESB] [2018-07-12 15:38:22,463] DEBUG {org.wso2.carbon.mediation.ntask.internal.NtaskService} - Un-setting the Realm Service.

Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Godwin Shrimal
On Mon, Aug 6, 2018 at 4:42 PM Prakhash Sivakumar wrote: > > On Mon, Aug 6, 2018 at 9:02 PM Godwin Shrimal wrote: > >> >> >> On Mon, Aug 6, 2018 at 2:22 PM Prakhash Sivakumar >> wrote: >> >>> >>> >>> On Mon, Aug 6, 2018 at 2:19 PM Godwin Shrimal wrote: >>> I don't see any value in

Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Prakhash Sivakumar
On Mon, Aug 6, 2018 at 9:02 PM Godwin Shrimal wrote: > > > On Mon, Aug 6, 2018 at 2:22 PM Prakhash Sivakumar > wrote: > >> >> >> On Mon, Aug 6, 2018 at 2:19 PM Godwin Shrimal wrote: >> >>> I don't see any value in printing product name for every logline. We >>> already printing product name

Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Godwin Shrimal
On Mon, Aug 6, 2018 at 2:22 PM Prakhash Sivakumar wrote: > > > On Mon, Aug 6, 2018 at 2:19 PM Godwin Shrimal wrote: > >> I don't see any value in printing product name for every logline. We >> already printing product name once server started. Please see the example >> below. >> >> [2018-08-06

Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Prakhash Sivakumar
On Mon, Aug 6, 2018 at 2:19 PM Godwin Shrimal wrote: > I don't see any value in printing product name for every logline. We > already printing product name once server started. Please see the example > below. > > [2018-08-06 09:48:08,391] INFO >

Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-06 Thread Godwin Shrimal
I don't see any value in printing product name for every logline. We already printing product name once server started. Please see the example below. [2018-08-06 09:48:08,391] INFO {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} - Server : WSO2 Identity Server-5.1.0

Re: [Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-05 Thread Rushmin Fernando
Hi Gayan, What's the requirement behind this? And are you expecting a one time log or the product name for every logline? On Mon, Aug 6, 2018 at 12:43 PM gayan gunawardana wrote: > Hi Devs, > > Appreciate your input regarding $subject. > > -- > Gayan >

[Dev] Is there a way to log product name to wso2carbon.log ?

2018-08-05 Thread gayan gunawardana
Hi Devs, Appreciate your input regarding $subject. -- Gayan ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev