You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Xi Shen <da...@gmail.com> on 2016/10/21 10:16:30 UTC
How to make Zeppelin log everything to console
Hi,
Currently, the default log4j logs almost everything to the log files. But I
do not want to run Zeppelin as a service, and I want to print all the logs,
including the interpreter logs to the console.
Can I do that with log4j configuration? Which class should I use?
--
Thanks,
David S.
Re: How to make Zeppelin log everything to console
Posted by Xi Shen <da...@gmail.com>.
Yeah~change the root logger should be good enough for me
On Fri, Oct 21, 2016 at 6:49 PM Anthony Corbacho <an...@apache.org>
wrote:
> Hi david,
>
> Have you tried to use console in rootLogger in log4j configuration?
> It should look like a bit like this:
>
> log4j.rootLogger=DEBUG,console,file
> log4j.appender.console=org.apache.log4j.ConsoleAppender
> log4j.appender.file=org.apache.log4j.RollingFileAppender
>
>
> On Friday, 21 October 2016, Xi Shen <da...@gmail.com> wrote:
>
> Hi,
>
> Currently, the default log4j logs almost everything to the log files. But
> I do not want to run Zeppelin as a service, and I want to print all the
> logs, including the interpreter logs to the console.
>
> Can I do that with log4j configuration? Which class should I use?
>
> --
>
>
> Thanks,
> David S.
>
> --
Thanks,
David S.
Re: How to make Zeppelin log everything to console
Posted by Anthony Corbacho <an...@apache.org>.
Hi david,
Have you tried to use console in rootLogger in log4j configuration?
It should look like a bit like this:
log4j.rootLogger=DEBUG,console,file
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.file=org.apache.log4j.RollingFileAppender
On Friday, 21 October 2016, Xi Shen <da...@gmail.com> wrote:
> Hi,
>
> Currently, the default log4j logs almost everything to the log files. But
> I do not want to run Zeppelin as a service, and I want to print all the
> logs, including the interpreter logs to the console.
>
> Can I do that with log4j configuration? Which class should I use?
>
> --
>
>
> Thanks,
> David S.
>