Storing logs in a File

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Storing logs in a File

Aman Singh
Hi Team,

Can someone explain me how we can store all the logs which LOG mediator holds in a file??

Any help would be appreciated.

Thank you,
Aman.

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Storing logs in a File

Lahiru Madushanka-2
Hi Aman,

You can try per-service [1] and per-API [2] logging to take logs from specific proxy/API.
In the log4j configs, you can configure the log level, file location, log pattern etc ...


Thanks,
Lahiru

On Tue, Jul 31, 2018 at 9:52 AM Aman Singh <[hidden email]> wrote:
Hi Team,

Can someone explain me how we can store all the logs which LOG mediator holds in a file??

Any help would be appreciated.

Thank you,
Aman.
_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev