You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Abhishek Raj <ab...@yahoo.com> on 2019/04/05 12:08:39 UTC
Storm logger file
Hi,
On Storm UI, we have an option to enable logger for specific classes using
the following section -
[image: Screen Shot 2019-04-05 at 5.30.21 PM.png]
This is great but every time we redeploy our topology, we have to redefine
all our loggers in the UI again which is quite a bit of work if there are a
lot of classes. Is there a way to submit all the logger classes to Storm
when deploying a topology and have them automatically added to the UI? The
loggers would be disabled by default and we can enable them whenever needed.
Not sure if this feature already exists. If not, could be very useful.
Let me know what you guys think.
Thanks.
Re: Storm logger file
Posted by Ethan Li <et...@gmail.com>.
Hi Abhishek,
You can use “storm set_log_level” command to set log level for your topology, for example, "storm set_log_level -l ROOT=DEBUG:30 topology-name”.
You can run "storm help set_log_level” for the usage of it.
Thanks.
-Ethan
> On Apr 5, 2019, at 7:08 AM, Abhishek Raj <ab...@yahoo.com> wrote:
>
> Hi,
>
> On Storm UI, we have an option to enable logger for specific classes using the following section -
>
> <Screen Shot 2019-04-05 at 5.30.21 PM.png>
>
> This is great but every time we redeploy our topology, we have to redefine all our loggers in the UI again which is quite a bit of work if there are a lot of classes. Is there a way to submit all the logger classes to Storm when deploying a topology and have them automatically added to the UI? The loggers would be disabled by default and we can enable them whenever needed.
>
> Not sure if this feature already exists. If not, could be very useful.
>
> Let me know what you guys think.
>
> Thanks.